Эх сурвалжийг харах

Input: auto-select INPUT for MAC_EMUMOUSEBTN option

Otherwise we'll ge the following build error:

  LD      .tmp_vmlinux1
drivers/built-in.o: In function `input_report_key':
include/linux/input.h:1158: undefined reference to `input_event'
    ...

Signed-off-by: Andreas Herrmann <aherrman@arcor.de>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Andreas Herrmann 17 жил өмнө
parent
commit
8d9f0952e7

+ 1 - 0
drivers/macintosh/Kconfig

@@ -167,6 +167,7 @@ config INPUT_ADBHID
 
 
 config MAC_EMUMOUSEBTN
 config MAC_EMUMOUSEBTN
 	bool "Support for mouse button 2+3 emulation"
 	bool "Support for mouse button 2+3 emulation"
+	select INPUT
 	help
 	help
 	  This provides generic support for emulating the 2nd and 3rd mouse
 	  This provides generic support for emulating the 2nd and 3rd mouse
 	  button with keypresses.  If you say Y here, the emulation is still
 	  button with keypresses.  If you say Y here, the emulation is still