summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch')
-rw-r--r--packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch b/packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch
new file mode 100644
index 0000000000..6e8692c37d
--- /dev/null
+++ b/packages/linux/linux-openmoko/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);
+