Input: arc_ps2 - add HAS_IOMEM dependency
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 29 Jun 2015 19:13:05 +0000 (12:13 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 29 Jun 2015 19:57:05 +0000 (12:57 -0700)
Fix this compile error:

drivers/built-in.o: In function `arc_ps2_probe':
/mnt/linux/drivers/input/serio/arc_ps2.c:206: undefined reference to `devm_ioremap_resource'

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/Kconfig

index 77833d7a004bfa4f6af1b9a7cd0aaa66ef0f8b22..200841b77edb85b22caf110f4693443957354915 100644 (file)
@@ -244,6 +244,7 @@ config SERIO_PS2MULT
 
 config SERIO_ARC_PS2
        tristate "ARC PS/2 support"
+       depends on HAS_IOMEM
        help
          Say Y here if you have an ARC FPGA platform with a PS/2
          controller in it.