Re: [PATCH 1/2] gpio: mc9s08dz60: Fix build error if I2C=m

2012-08-31 Thread Linus Walleij
On Wed, Aug 29, 2012 at 3:35 AM, Axel Lin wrote: > 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'

[PATCH 1/2] gpio: mc9s08dz60: Fix build error if I2C=m

2012-08-28 Thread Axel Lin
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-fa