diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-06-10 14:05:40 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-06-11 00:37:57 -0400 |
commit | 150e5928d6063b273a80d9d6722417ac3c93ff82 (patch) | |
tree | 2c37854ed7d92ddd11025609bcfd5f9c904b77f9 | |
parent | d3bf073aa7d50f06f81b4065a39fd6dc046f8bb2 (diff) |
Input: add missing dependencies on CONFIG_HAS_IOMEM
Several drivers don't build on s390 with CONFIG_PCI disabled as
they require MMIO functions.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org # 3.9
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
-rw-r--r-- | drivers/input/keyboard/Kconfig | 1 | ||||
-rw-r--r-- | drivers/input/serio/Kconfig | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/keyboard/Kconfig b/drivers/input/keyboard/Kconfig index ac0500667000..c62ca1b47a37 100644 --- a/drivers/input/keyboard/Kconfig +++ b/drivers/input/keyboard/Kconfig | |||
@@ -431,6 +431,7 @@ config KEYBOARD_TEGRA | |||
431 | 431 | ||
432 | config KEYBOARD_OPENCORES | 432 | config KEYBOARD_OPENCORES |
433 | tristate "OpenCores Keyboard Controller" | 433 | tristate "OpenCores Keyboard Controller" |
434 | depends on HAS_IOMEM | ||
434 | help | 435 | help |
435 | Say Y here if you want to use the OpenCores Keyboard Controller | 436 | Say Y here if you want to use the OpenCores Keyboard Controller |
436 | http://www.opencores.org/project,keyboardcontroller | 437 | http://www.opencores.org/project,keyboardcontroller |
diff --git a/drivers/input/serio/Kconfig b/drivers/input/serio/Kconfig index aebfe3ecb945..1bda828f4b55 100644 --- a/drivers/input/serio/Kconfig +++ b/drivers/input/serio/Kconfig | |||
@@ -205,6 +205,7 @@ config SERIO_XILINX_XPS_PS2 | |||
205 | 205 | ||
206 | config SERIO_ALTERA_PS2 | 206 | config SERIO_ALTERA_PS2 |
207 | tristate "Altera UP PS/2 controller" | 207 | tristate "Altera UP PS/2 controller" |
208 | depends on HAS_IOMEM | ||
208 | help | 209 | help |
209 | Say Y here if you have Altera University Program PS/2 ports. | 210 | Say Y here if you have Altera University Program PS/2 ports. |
210 | 211 | ||