Skip to contentSkip to conversation

staging: unisys: visorinput depends on INPUT

PATCH New Randy Dunlap 1 participant 1 message Feb 26, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: unisys: visorinput depends on INPUT

From: Randy Dunlap <[email protected]>

Fix build errors by limiting UNISYS_VISORINPUT to the INPUT kconfig setting.

drivers/built-in.o: In function `visorinput_remove':
visorinput.c:(.text+0x20802e): undefined reference to input_unregister_device' drivers/built-in.o: In function visorinput_probe':
visorinput.c:(.text+0x208177): undefined reference to input_allocate_device' visorinput.c:(.text+0x208241): undefined reference to input_register_device' visorinput.c:(.text+0x20824d): undefined reference to input_free_device' visorinput.c:(.text+0x208286): undefined reference to input_allocate_device' visorinput.c:(.text+0x208302): undefined reference to input_set_abs_params' visorinput.c:(.text+0x20831a): undefined reference to input_set_abs_params' visorinput.c:(.text+0x20833f): undefined reference to input_register_device' visorinput.c:(.text+0x20834b): undefined reference to input_free_device' visorinput.c:(.text+0x20835f): undefined reference to input_set_capability' drivers/built-in.o: In function visorinput_channel_interrupt':
visorinput.c:(.text+0x20851e): undefined reference to input_event' visorinput.c:(.text+0x20862c): undefined reference to input_event' drivers/built-in.o: In function `input_report_key':
visorinput.c:(.text+0x207fd1): undefined reference to input_event' drivers/built-in.o: In function input_sync':
visorinput.c:(.text+0x207fdc): undefined reference to `input_event'

---
 drivers/staging/unisys/visorinput/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Found in linux-next but also applies to mainline.

drivers/staging/unisys/visorinput/Kconfig +1 -1
@@ -4,7 +4,7 @@
 
 config UNISYS_VISORINPUT
 	tristate "Unisys visorinput driver"
-	depends on UNISYSSPAR && UNISYS_VISORBUS && FB
+	depends on UNISYSSPAR && UNISYS_VISORBUS && FB && INPUT
 	---help---
 	The Unisys s-Par visorinput driver provides a virtualized system
 	console (keyboard and mouse) that is accessible through the