* [PATCH] ramoops: add HAS_IOMEM dependency
@ 2010-05-28 11:46 Heiko Carstens
0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2010-05-28 11:46 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Marco Stornelli
From: Heiko Carstens <heiko.carstens@de.ibm.com>
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 <heiko.carstens@de.ibm.com>
Cc: Marco Stornelli <marco.stornelli@gmail.com>
---
drivers/char/Kconfig | 1 +
1 file changed, 1 insertion(+)
--- 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-28 11:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-28 11:46 [PATCH] ramoops: add HAS_IOMEM dependency Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®