diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2010-05-13 01:54:57 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2010-06-14 19:33:22 +0400 |
commit | eb9650d6d989f24f21232a055d8fd45f1a9dcf99 (patch) | |
tree | 14245e56a2054a23429a6de2be9542b23e00b191 /mm/percpu.c | |
parent | 7e27d6e778cd87b6f2415515d7127eba53fe5d02 (diff) | |
download | linux-eb9650d6d989f24f21232a055d8fd45f1a9dcf99.tar.gz linux-eb9650d6d989f24f21232a055d8fd45f1a9dcf99.tar.bz2 linux-eb9650d6d989f24f21232a055d8fd45f1a9dcf99.zip |
ds2782_battery: Rename get_current to fix build failure / name conflict
This patch changes the name of get_current function pointer to
get_battery_current to resolve a name conflict with the get_current
macro defined in current.h.
This conflict resulted in a build-failure[1] for the sh4 arch
allyesconfig:
drivers/power/ds2782_battery.c:216:48: error: macro "get_current"
passed 2 arguments, but takes just
This patch fixes the issue. To be consistent the other function pointers
(_voltage,_capacity) were renamed too.
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Acked-by: Ryan Mallon <ryan@bluewatersys.com>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'mm/percpu.c')
0 files changed, 0 insertions, 0 deletions