diff options
author | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-02-07 06:13:27 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-02-08 23:14:15 +0100 |
commit | 203209ef77e4d5f0ee729557b09770bce0c2d251 (patch) | |
tree | 21ea12162acfb3aa54e975dd3307f4da96db8e1c /drivers | |
parent | staging: r8712u: Use asynchronous firmware loading (diff) | |
download | linux-203209ef77e4d5f0ee729557b09770bce0c2d251.tar.xz linux-203209ef77e4d5f0ee729557b09770bce0c2d251.zip |
staging: android/ram_console: Don't build on arches w/o ioremap
This patch fixes UML build:
CC drivers/staging/android/ram_console.o
drivers/staging/android/ram_console.c: In function
'ram_console_driver_probe':
drivers/staging/android/ram_console.c:358:2: error: implicit declaration
of function 'ioremap' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [drivers/staging/android/ram_console.o] Error 1
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/android/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/android/Kconfig b/drivers/staging/android/Kconfig index 94cb2ac9624e..fef3580ce8de 100644 --- a/drivers/staging/android/Kconfig +++ b/drivers/staging/android/Kconfig @@ -27,6 +27,7 @@ config ANDROID_LOGGER config ANDROID_RAM_CONSOLE bool "Android RAM buffer console" + depends on !S390 && !UML default n config ANDROID_RAM_CONSOLE_ENABLE_VERBOSE |