From: Lars-Peter Clausen Date: Sun, 10 Mar 2013 13:34:08 +0000 (+0100) Subject: pm2301_charger: Remove __dev* annotations X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~93^2~35^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92413a9bee1299cedcc0e5cfbfbc6b42496fb817;p=pandora-kernel.git pm2301_charger: Remove __dev* annotations 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 Signed-off-by: Lars-Peter Clausen Signed-off-by: Arnd Bergmann Acked-by: Linus Walleij Signed-off-by: Anton Vorontsov --- Reading git-diff-tree failed