diff options
-rw-r--r-- | drivers/power/olpc_battery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/power/olpc_battery.c b/drivers/power/olpc_battery.c index 46a2f07edab1..dc60f61a3b9e 100644 --- a/drivers/power/olpc_battery.c +++ b/drivers/power/olpc_battery.c | |||
@@ -627,7 +627,7 @@ static const struct of_device_id olpc_battery_ids[] __devinitconst = { | |||
627 | }; | 627 | }; |
628 | MODULE_DEVICE_TABLE(of, olpc_battery_ids); | 628 | MODULE_DEVICE_TABLE(of, olpc_battery_ids); |
629 | 629 | ||
630 | static struct platform_driver olpc_battery_drv = { | 630 | static struct platform_driver olpc_battery_driver = { |
631 | .driver = { | 631 | .driver = { |
632 | .name = "olpc-battery", | 632 | .name = "olpc-battery", |
633 | .owner = THIS_MODULE, | 633 | .owner = THIS_MODULE, |
@@ -640,13 +640,13 @@ static struct platform_driver olpc_battery_drv = { | |||
640 | 640 | ||
641 | static int __init olpc_bat_init(void) | 641 | static int __init olpc_bat_init(void) |
642 | { | 642 | { |
643 | return platform_driver_register(&olpc_battery_drv); | 643 | return platform_driver_register(&olpc_battery_driver); |
644 | } | 644 | } |
645 | module_init(olpc_bat_init); | 645 | module_init(olpc_bat_init); |
646 | 646 | ||
647 | static void __exit olpc_bat_exit(void) | 647 | static void __exit olpc_bat_exit(void) |
648 | { | 648 | { |
649 | platform_driver_unregister(&olpc_battery_drv); | 649 | platform_driver_unregister(&olpc_battery_driver); |
650 | } | 650 | } |
651 | module_exit(olpc_bat_exit); | 651 | module_exit(olpc_bat_exit); |
652 | 652 | ||