summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-openmoko-2.6.24/gta01-fix-battery-class-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-openmoko-2.6.24/gta01-fix-battery-class-name.patch')
-rw-r--r--recipes/linux/linux-openmoko-2.6.24/gta01-fix-battery-class-name.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/linux/linux-openmoko-2.6.24/gta01-fix-battery-class-name.patch b/recipes/linux/linux-openmoko-2.6.24/gta01-fix-battery-class-name.patch
new file mode 100644
index 0000000000..6e8692c37d
--- /dev/null
+++ b/recipes/linux/linux-openmoko-2.6.24/gta01-fix-battery-class-name.patch
@@ -0,0 +1,13 @@
+Index: git/drivers/power/gta01_battery.c
+===================================================================
+--- git.orig/drivers/power/gta01_battery.c
++++ git/drivers/power/gta01_battery.c
+@@ -70,7 +70,7 @@ static int __init gta01_bat_init(void)
+ {
+ int ret;
+
+- bat_pdev = platform_device_register_simple("bat", 0, NULL, 0);
++ bat_pdev = platform_device_register_simple("bat-th-gta01", 0, NULL, 0);
+ if (IS_ERR(bat_pdev))
+ return PTR_ERR(bat_pdev);
+