Thread (2 messages) 2 messages, 2 authors, 2022-02-28

Re: [PATCH v2] Input: samsung-keypad - Properly state IOMEM dependency

flat view

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2022-02-28 05:00:51
Also in: linux-um, lkml

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 <redacted>
Acked-by: anton ivanov <anton.ivanov@cambridgegreys.com>
Applied, thank you.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help