summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-05-28 12:28:05 +0300
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>2019-06-11 21:17:50 +0300
commitad04ca76c6536c7a3176b7413fde20fa3318b7bf (patch)
tree979fe8fe9c485d422ea33ba4950f5a228c565532 /Documentation
parentef071bab655b61e3235868a445b72346b8cc0193 (diff)
downloadlinux-ad04ca76c6536c7a3176b7413fde20fa3318b7bf.tar.xz
Platform: OLPC: Fix build error without CONFIG_SPI
Fix gcc build error while CONFIG_SPI is not set drivers/platform/olpc/olpc-xo175-ec.o: In function `olpc_xo175_ec_remove': olpc-xo175-ec.c:(.text+0x190): undefined reference to `spi_slave_abort' drivers/platform/olpc/olpc-xo175-ec.o: In function `olpc_xo175_ec_send_command': olpc-xo175-ec.c:(.text+0x374): undefined reference to `spi_async' drivers/platform/olpc/olpc-xo175-ec.o: In function `olpc_xo175_ec_cmd': olpc-xo175-ec.c:(.text+0x8a0): undefined reference to `spi_slave_abort' drivers/platform/olpc/olpc-xo175-ec.o: In function `olpc_xo175_ec_spi_driver_init': olpc-xo175-ec.c:(.init.text+0x14): undefined reference to `__spi_register_driver' We should depends on CONFIG_SPI_SLAVE other than directly select it. 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>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions