[PATCH v2] Input: samsung-keypad - Properly state IOMEM dependency
Dmitry Torokhov
dmitry.torokhov at gmail.com
Sun Feb 27 21:00:35 PST 2022
On Fri, Feb 25, 2022 at 12:17:27PM +0800, David Gow wrote:
> Make the samsung-keypad driver explicitly depend on CONFIG_HAS_IOMEM, as it
> calls devm_ioremap(). This prevents compile errors in some configs (e.g,
> allyesconfig/randconfig under UML):
>
> /usr/bin/ld: drivers/input/keyboard/samsung-keypad.o: in function `samsung_keypad_probe':
> samsung-keypad.c:(.text+0xc60): undefined reference to `devm_ioremap'
>
> Signed-off-by: David Gow <davidgow at google.com>
> Acked-by: anton ivanov <anton.ivanov at cambridgegreys.com>
Applied, thank you.
--
Dmitry
More information about the linux-um
mailing list