diff mbox

input/arc_ps2: add HAS_IOMEM dependency

Message ID alpine.LFD.2.11.1506291120300.1709@denkbrett (mailing list archive)
State New, archived
Headers show

Commit Message

Sebastian Ott June 29, 2015, 9:22 a.m. UTC
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>
---
 drivers/input/serio/Kconfig |    1 +
 1 file changed, 1 insertion(+)


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Dmitry Torokhov June 29, 2015, 7:14 p.m. UTC | #1
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.
>
diff mbox

Patch

--- 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.