diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2020-07-28 13:26:13 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-07-28 13:26:13 +0300 |
commit | 2742b4192a279c6ec72e55d5474c4c07756c7845 (patch) | |
tree | 8d5ed67e909786b6c300721b00a1ed062f479dde /lib/fdt_strerror.c | |
parent | 45c2818f78d31d7f6732ad07baa7902f33c269d3 (diff) | |
download | linux-2742b4192a279c6ec72e55d5474c4c07756c7845.tar.xz |
Make LEDS_LP55XX_COMMON depend on I2C to fix build errors:
leds-lp55xx-common.c:(.text+0x9d): undefined reference to `i2c_smbus_read_byte_data'
leds-lp55xx-common.c:(.text+0x8fc): undefined reference to `i2c_smbus_write_byte_data'
These errors happened when I2C=m and LEDS_LP55XX_COMMON=y, so
prevent that from being possible.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Dan Murphy <dmurphy@ti.com>
Cc: linux-leds@vger.kernel.org
Cc: Milo Kim <milo.kim@ti.com>
Cc: Mathias Nyman <mathias.nyman@nokia.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'lib/fdt_strerror.c')
0 files changed, 0 insertions, 0 deletions