瀏覽代碼

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 18 年之前
父節點
當前提交
8d9f0952e7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/macintosh/Kconfig

+ 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