projects/linux·commit b7e5d1f0

ramoops: add HAS_IOMEM dependency

b7e5d1f0 · Heiko Carstens <[email protected]> · 2010-06-04 14:14:48 -07:00

The driver fails to compile on s390:

drivers/char/ramoops.c: In function 'ramoops_init':
drivers/char/ramoops.c:122: error: implicit declaration of function 'ioremap'

Since we won't make use of the driver anyway on s390 just let it depend on
HAS_IOMEM.

Signed-off-by: Heiko Carstens <[email protected]>
Cc: Marco Stornelli <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
b7e5d1f04104d98895945ecb463d750320dcd6cf
Parents
7cbe1770

Changes

1 files changed · +1 −0

FileStatusAddDelContent
drivers/char/Kconfigmodified+1−0View file

drivers/char/Kconfig

View file
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig
index f09fc0e..7cfcc62 100644
--- a/drivers/char/Kconfig
+++ b/drivers/char/Kconfig
@@ -1123,6 +1123,7 @@ source "drivers/s390/char/Kconfig"
config RAMOOPS
tristate "Log panic/oops to a RAM buffer"
+ depends on HAS_IOMEM
default n
help
This enables panic and oops messages to be logged to a circular