From: Heiko Carstens Date: Fri, 4 Jun 2010 21:14:48 +0000 (-0700) Subject: ramoops: add HAS_IOMEM dependency X-Git-Tag: firefly_0821_release~9833^2~1582 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7e5d1f04104d98895945ecb463d750320dcd6cf;p=firefly-linux-kernel-4.4.55.git ramoops: add HAS_IOMEM dependency 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 Cc: Marco Stornelli Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index f09fc0e2062d..7cfcc629a7fd 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