# Input: Add missing dependencies on CONFIG\_HAS\_IOMEM

- From: Ben Hutchings \<hidden\>
- Date: 2013-06-09 20:02:52 
- List: linux-input
- Page: https://ratatoskr.run/linux-input/2013/06/8921634
- Thread: https://ratatoskr.run/linux-input/2013/06/8921634/t.md

```text
Several drivers don't build on s390 with CONFIG_PCI disabled as
they require MMIO functions.

Marking this for 3.9-stable only, as CONFIG_INPUT was previously
disabled on s390.

Signed-off-by: Ben Hutchings <redacted>
Cc: <redacted> # 3.9
---
--- a/drivers/input/keyboard/Kconfig
+++ b/drivers/input/keyboard/Kconfig
@@ -431,6 +431,7 @@ config KEYBOARD_TEGRA
 
 config KEYBOARD_OPENCORES
 	tristate "OpenCores Keyboard Controller"
+	depends on HAS_IOMEM
 	help
 	  Say Y here if you want to use the OpenCores Keyboard Controller
 	  http://www.opencores.org/project,keyboardcontroller
--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -205,6 +205,7 @@ config SERIO_XILINX_XPS_PS2
 
 config SERIO_ALTERA_PS2
 	tristate "Altera UP PS/2 controller"
+	depends on HAS_IOMEM
 	help
 	  Say Y here if you have Altera University Program PS/2 ports.
 

```

## Attachments

- [signature.asc](https://ratatoskr.run/linux-input/2013/06/8921634/attachment/0) (application/pgp-signature, 828 bytes)
