Re: [PATCH] input/arc_ps2: add HAS_IOMEM dependency

Dmitry Torokhov
2015-06-29T19:14:17Z

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 <sebott@linux.vnet.ibm.com>

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