2015-06-29 09:23:05

by Sebastian Ott

[permalink] [raw]
Subject: [PATCH] input/arc_ps2: add HAS_IOMEM dependency

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 <[email protected]>
---
drivers/input/serio/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- a/drivers/input/serio/Kconfig
+++ b/drivers/input/serio/Kconfig
@@ -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.


2015-06-29 19:14:17

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH] input/arc_ps2: add HAS_IOMEM dependency

On Mon, Jun 29, 2015 at 11:22:44AM +0200, Sebastian Ott wrote:
> 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 <[email protected]>

Applied, thank you.

> ---
> drivers/input/serio/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> --- a/drivers/input/serio/Kconfig
> +++ b/drivers/input/serio/Kconfig
> @@ -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.
>

--
Dmitry