x86/olpc: Fix olpc-xo1-sci.c build errors
authorRandy Dunlap <rdunlap@xenotime.net>
Tue, 18 Dec 2012 20:22:17 +0000 (12:22 -0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 24 Jan 2013 15:00:23 +0000 (16:00 +0100)
commited8e47fefc668c1a90d90382517a77ff332a916c
tree24afef6684d4cc32a9791665f9f53e64ba3f4c3f
parent57c4f43043f89e18e0a386e096e57457f11f668b
x86/olpc: Fix olpc-xo1-sci.c build errors

Fix build errors when CONFIG_INPUT=m.  This is not pretty, but
all of the OLPC kconfig options are bool instead of tristate.

  arch/x86/built-in.o: In function `send_lid_state':
    olpc-xo1-sci.c:(.text+0x1d323): undefined reference to `input_event'
    olpc-xo1-sci.c:(.text+0x1d338): undefined reference to `input_event'
  ...

In the long run, fixing this driver kconfig to be tristate
instead of bool would be a very good change.

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Cc: Andres Salomon <dilinger@queued.net>
Cc: Chris Ball <cjb@laptop.org>
Cc: Jon Nettleton <jon.nettleton@gmail.com>
Cc: Daniel Drake <dsd@laptop.org>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/Kconfig