]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: wistron_btns - disable on UML
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 30 Nov 2022 23:01:07 +0000 (15:01 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:26:06 +0000 (13:26 +0100)
commitb739880c9861c2dd87bce78c7010182881ec97cf
treebde08078493bb86c2602c4f2fc8ef89b66989acf
parent11961df00276b131184f349e589d59a360db9d8e
Input: wistron_btns - disable on UML

[ Upstream commit b2b80d9dd14cb5b70dc254bddbc4eea932694791 ]

The wistron_btns driver calls rtc_cmos_read(), which isn't
available with UML builds, so disable this driver on UML.

Prevents this build error:

ld: drivers/input/misc/wistron_btns.o: in function `poll_bios':
wistron_btns.c:(.text+0x4be): undefined reference to `rtc_cmos_read'

Fixes: 0bbadafdc49d ("um: allow disabling NO_IOMEM") # v5.14+
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Link: https://lore.kernel.org/r/20221130161604.1879-1-rdunlap@infradead.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/misc/Kconfig