]> git.baikalelectronics.ru Git - kernel.git/commit
staging: android/ram_console: Don't build on arches w/o ioremap
authorAnton Vorontsov <anton.vorontsov@linaro.org>
Tue, 7 Feb 2012 05:13:27 +0000 (09:13 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Feb 2012 22:14:15 +0000 (14:14 -0800)
commitb4c10ed95275a1309ce07ed03f9c542429c43c0b
tree21ea12162acfb3aa54e975dd3307f4da96db8e1c
parent18ace0c9a5195b3ebc8858de0babd0f79ffb2a2a
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>
drivers/staging/android/Kconfig