Skip to content

Commit

Permalink
ramoops: add HAS_IOMEM dependency
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Linus Torvalds committed Jun 4, 2010
1 parent 7cbe177 commit b7e5d1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b7e5d1f

Please sign in to comment.