ramoops: add HAS_IOMEM dependency
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Fri, 4 Jun 2010 21:14:48 +0000 (14:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Jun 2010 22:21:44 +0000 (15:21 -0700)
commitb7e5d1f04104d98895945ecb463d750320dcd6cf
tree6d85743bed9c9644d05b622795788cc9730340e5
parent7cbe17701a0379c7b05a79a6df4f24e41d2afde8
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 <heiko.carstens@de.ibm.com>
Cc: Marco Stornelli <marco.stornelli@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/Kconfig