1. 11 5月, 2013 1 次提交
    • X
      bq27x00: Fix I2C dependency in KConfig · a2d0dbb4
      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.
      
      Failure message:
      drivers/built-in.o: In function `bq27x00_read_i2c':
      bq27x00_battery.c:(.text+0x1082a7): undefined reference to `i2c_transfer'
      drivers/built-in.o: In function `bq27x00_battery_init':
      bq27x00_battery.c:(.init.text+0x6085): undefined reference to `i2c_register_driver'
      bq27x00_battery.c:(.init.text+0x60c7): undefined reference to `i2c_del_driver'
      drivers/built-in.o: In function `bq27x00_battery_exit':
      bq27x00_battery.c:(.exit.text+0xbf0): undefined reference to `i2c_del_driver'
      make: *** [vmlinux] Error 1
      Signed-off-by: NXiong Zhou <jencce.kernel@gmail.com>
      Cc: Lars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      a2d0dbb4
  2. 03 5月, 2013 1 次提交
    • R
      lp8788-charger: Fix kconfig dependency · 237a1b01
      Randy Dunlap 提交于
      Fix build errors in lp8788-charger by making it depend on IIO.
      Fixes errors when CONFIG_IIO=m and CHARGER_LP8788=y.
      
      lp8788-charger.c:(.text+0x2146b5): undefined reference to `iio_channel_get'
      lp8788-charger.c:(.text+0x2146ce): undefined reference to `iio_channel_get'
      lp8788-charger.c:(.text+0x214a86): undefined reference to `iio_read_channel_processed'
      lp8788-charger.c:(.text+0x214b51): undefined reference to `iio_read_channel_processed'
      lp8788-charger.c:(.text+0x214c30): undefined reference to `iio_read_channel_processed'
      lp8788-charger.c:(.text+0x214d93): undefined reference to `iio_channel_release'
      lp8788-charger.c:(.text+0x214dac): undefined reference to `iio_channel_release'
      Signed-off-by: NRandy Dunlap <rdunlap@infradead.org>
      Acked-by: NMilo Kim <milo.kim@ti.com>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      237a1b01
  3. 17 4月, 2013 11 次提交
  4. 01 4月, 2013 23 次提交
  5. 31 3月, 2013 1 次提交
  6. 25 3月, 2013 2 次提交
    • A
      Merge branch 'urgent' · 6e997bb8
      Anton Vorontsov 提交于
      Conflicts:
      	drivers/power/pm2301_charger.c
      6e997bb8
    • L
      pm2301_charger: Remove __dev* annotations · 92413a9b
      Lars-Peter Clausen 提交于
      The removal of __devinit and friends seems to have overlapped with the
      addition of the pm2301_charger driver. Currently the driver fails to build
      with the following errors:
      
      	drivers/power/pm2301_charger.c:843:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pm2xxx_wall_charger_probe'
      	drivers/power/pm2301_charger.c:1013:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pm2xxx_wall_charger_remove'
      	drivers/power/pm2301_charger.c:1049:11: error: 'pm2xxx_wall_charger_probe' undeclared here (not in a function)
      	drivers/power/pm2301_charger.c:1050:2: error: implicit declaration of function '__devexit_p'
      	drivers/power/pm2301_charger.c:1050:24: error: 'pm2xxx_wall_charger_remove' undeclared here (not in a function)
      
      This patch removes the __dev* annotations, which fixes the build errors.
      
      Cc: Lee Jones <lee.jones@linaro.org>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: NAnton Vorontsov <anton@enomsg.org>
      92413a9b
  7. 24 3月, 2013 1 次提交