Input: auto-select INPUT for MAC_EMUMOUSEBTN option
authorAndreas Herrmann <aherrman@arcor.de>
Wed, 26 Sep 2007 04:01:50 +0000 (00:01 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 26 Sep 2007 04:01:50 +0000 (00:01 -0400)
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>
drivers/macintosh/Kconfig

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