diff options
author | Josh Wu <[email protected]> | 2013-04-17 15:58:31 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-04-17 16:10:44 -0700 |
commit | 472d326677db37625903265428582694394d2df7 (patch) | |
tree | 968e9d59e497093cfc323e0ca751e0735047bea9 /lib/memory-notifier-error-inject.c | |
parent | 9cc3a5bd40067b9a0fbd49199d0780463fc2140f (diff) |
avr32: fix build error in atstk1006_defconfig
fixed the following compile error when use avr32 atstk1006_defconfig:
drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location':
drivers/mtd/nand/atmel_nand.c:639: error: implicit declaration of function 'writel_relaxed'
which was introduced by commit 1c7b874d33b4 ("mtd: at91: atmel_nand: add
Programmable Multibit ECC controller support"). The PMECC for nand
flash code uses writel_relaxed(). But in avr32, there is no macro
"writel_relaxed" defined.
This patch add writex_relaxed macro definitions.
Signed-off-by: Josh Wu <[email protected]>
Acked-by: Havard Skinnemoen <[email protected]>
Acked-by: Hans-Christian Egtvedt <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Artem Bityutskiy <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions