[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20100528114654.GC3686@osiris.boeblingen.de.ibm.com>
Date: Fri, 28 May 2010 13:46:54 +0200
From: Heiko Carstens <heiko.carstens@...ibm.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org,
Marco Stornelli <marco.stornelli@...il.com>
Subject: [PATCH] ramoops: add HAS_IOMEM dependency
From: Heiko Carstens <heiko.carstens@...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@...ibm.com>
Cc: Marco Stornelli <marco.stornelli@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists