]> git.baikalelectronics.ru Git - kernel.git/commit
Platform: OLPC: Add INPUT dependencies
authorYueHaibing <yuehaibing@huawei.com>
Tue, 28 May 2019 09:28:06 +0000 (17:28 +0800)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 Jun 2019 18:17:50 +0000 (21:17 +0300)
commitcdaf018c54bd957d5ee00b1b8c3c74e18138ee6e
tree17be7650c4bc128defbc21d4898a30a3e555db1f
parentad04ca76c6536c7a3176b7413fde20fa3318b7bf
Platform: OLPC: Add INPUT dependencies

Building with CONFIG_INPUT set to m:

drivers/platform/olpc/olpc-xo175-ec.o: In function `olpc_xo175_ec_complete':
olpc-xo175-ec.c:(.text+0x75d): undefined reference to `input_event'
olpc-xo175-ec.c:(.text+0x76f): undefined reference to `input_event'
olpc-xo175-ec.c:(.text+0x787): undefined reference to `input_event'
olpc-xo175-ec.c:(.text+0x799): undefined reference to `input_event'
drivers/platform/olpc/olpc-xo175-ec.o: In function `olpc_xo175_ec_probe':
olpc-xo175-ec.c:(.text+0x8d5): undefined reference to `devm_input_allocate_device'
olpc-xo175-ec.c:(.text+0x910): undefined reference to `input_set_capability'
olpc-xo175-ec.c:(.text+0x91c): undefined reference to `input_register_device'

This patch add INPUT dependencies to fix this.

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 0c3d931b3ab9 ("Platform: OLPC: Add XO-1.75 EC driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/olpc/Kconfig