1. 25 11月, 2011 5 次提交
  2. 23 8月, 2011 2 次提交
    • R
      power_supply: Fix sysfs format warning · 85b5fbf7
      Randy Dunlap 提交于
      Fix format warning:
      
      drivers/power/power_supply_sysfs.c:82: warning: format '%d' expects type 'int', but argument 4 has type 'ssize_t'
      Signed-off-by: NRandy Dunlap <rdunlap@xenotime.net>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      85b5fbf7
    • A
      pda_power: Fix build error if !CONFIG_USB_OTG_UTILS · 1c74529d
      Axel Lin 提交于
      commit 9ad63986
      "pda_power: Add support for using otg transceiver events"
      introduces below build error if !CONFIG_USB_OTG_UTILS.
      
        CC      drivers/power/pda_power.o
      drivers/power/pda_power.c: In function 'pda_power_probe':
      drivers/power/pda_power.c:322: error: 'otg_is_usb_online' undeclared (first use in this function)
      drivers/power/pda_power.c:322: error: (Each undeclared identifier is reported only once
      drivers/power/pda_power.c:322: error: for each function it appears in.)
      drivers/power/pda_power.c:325: error: 'otg_is_ac_online' undeclared (first use in this function)
      drivers/power/pda_power.c:371: error: 'otg_handle_notification' undeclared (first use in this function)
      make[2]: *** [drivers/power/pda_power.o] Error 1
      make[1]: *** [drivers/power] Error 2
      make: *** [drivers] Error 2
      
      This patch adds #ifdef CONFIG_USB_OTG_UTILS guards at necessary places to fix
      build errors.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
      1c74529d
  3. 20 8月, 2011 14 次提交
  4. 15 8月, 2011 3 次提交
  5. 14 8月, 2011 16 次提交