diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-08-29 09:35:24 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-01 01:00:39 +0200 |
commit | 4c30aa33d4b4ce9a0ee5b32d058a40f4eca2ab63 (patch) | |
tree | 24a342f772ee82a3dd2e2f7b9d67eeea2a0048dd /mm/percpu-km.c | |
parent | c61307a7cc1be87b6785dad0885492b6ca7998db (diff) | |
download | linux-4c30aa33d4b4ce9a0ee5b32d058a40f4eca2ab63.tar.bz2 |
gpio: mc9s08dz60: Fix build error if I2C=m
Make GPIO_MC9S08DZ60 depend on I2C=y, this fixes below build error:
LD init/built-in.o
drivers/built-in.o: In function `mc9s08dz60_get_value':
clk-fixed-factor.c:(.text+0x7214): undefined reference to `i2c_smbus_read_byte_data'
drivers/built-in.o: In function `mc9s08dz60_set':
clk-fixed-factor.c:(.text+0x727c): undefined reference to `i2c_smbus_read_byte_data'
clk-fixed-factor.c:(.text+0x72bc): undefined reference to `i2c_smbus_write_byte_data'
drivers/built-in.o: In function `mc9s08dz60_i2c_driver_init':
clk-fixed-factor.c:(.init.text+0x290): undefined reference to `i2c_register_driver'
drivers/built-in.o: In function `mc9s08dz60_i2c_driver_exit':
clk-fixed-factor.c:(.exit.text+0x2c): undefined reference to `i2c_del_driver'
make: *** [vmlinux] Error 1
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'mm/percpu-km.c')
0 files changed, 0 insertions, 0 deletions