Re: [PATCH -next] power: fix bq27x00_battery kconfig

2013-05-10 Thread Anton Vorontsov
On Tue, May 07, 2013 at 10:15:56AM +0800, Xiong Zhou wrote: > From: Xiong Zhou > > This patch fixes build failure(randconfig) of next-20130501. > When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. > The driver depends on I2C only if I2C is not disabled, as Lars > commented. Last

Re: [PATCH -next] power: fix bq27x00_battery kconfig

2013-05-06 Thread Xiong Zhou
From: Xiong Zhou This patch fixes build failure(randconfig) of next-20130501. When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. The driver depends on I2C only if I2C is not disabled, as Lars commented. Last version of this patch make the driver depend on I2C unconditionally. Fa

Re: [PATCH -next] power: fix bq27x00_battery kconfig

2013-05-04 Thread Lars-Peter Clausen
On 05/04/2013 12:11 PM, zhou jencce wrote: > 2013/5/3 Lars-Peter Clausen : >> On 05/03/2013 11:56 AM, Xiong Zhou wrote: >>> From: Xiong Zhou >>> >>> This patch fixes build failure(randconfig) of next-20130501. >>> When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. >>> BATTERY_BQ27

Re: [PATCH -next] power: fix bq27x00_battery kconfig

2013-05-04 Thread zhou jencce
2013/5/3 Lars-Peter Clausen : > On 05/03/2013 11:56 AM, Xiong Zhou wrote: >> From: Xiong Zhou >> >> This patch fixes build failure(randconfig) of next-20130501. >> When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. >> BATTERY_BQ27x00 depends on I2C according to the code. >> > >> F

Re: [PATCH -next] power: fix bq27x00_battery kconfig

2013-05-03 Thread Lars-Peter Clausen
On 05/03/2013 11:56 AM, Xiong Zhou wrote: > From: Xiong Zhou > > This patch fixes build failure(randconfig) of next-20130501. > When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. > BATTERY_BQ27x00 depends on I2C according to the code. > > Failure message: > drivers/built-in.o:

[PATCH -next] power: fix bq27x00_battery kconfig

2013-05-03 Thread Xiong Zhou
From: Xiong Zhou This patch fixes build failure(randconfig) of next-20130501. When config I2C as m, BATTERY_BQ27x00 as y, here comes the failure. BATTERY_BQ27x00 depends on I2C according to the code. Failure message: drivers/built-in.o: In function `bq27x00_read_i2c': bq27x00_battery.c:(.text+0x