aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorPeter Huewe <[email protected]>2010-05-12 23:54:57 +0000
committerAnton Vorontsov <[email protected]>2010-06-14 15:33:22 +0000
commiteb9650d6d989f24f21232a055d8fd45f1a9dcf99 (patch)
tree14245e56a2054a23429a6de2be9542b23e00b191 /fs/jbd/commit.c
parentLinux 2.6.35-rc3 (diff)
downloadkernel-eb9650d6d989f24f21232a055d8fd45f1a9dcf99.tar.gz
kernel-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 <[email protected]> Acked-by: Ryan Mallon <[email protected]> Acked-by: Mike Rapoport <[email protected]> Signed-off-by: Anton Vorontsov <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions