summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch
diff options
context:
space:
mode:
authorPhilip Balister <philip@balister.org>2008-12-15 13:41:12 -0500
committerPhilip Balister <philip@balister.org>2008-12-15 13:41:12 -0500
commit51fc27d415c1f9d0a5f6ce7aae220e7268069725 (patch)
treed2607c9e8dcd838370a81b0f028ad291f058b017 /packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch
parent83e518ce5f7ddc6d02b08a79a685ee942ce9509b (diff)
parentefd5ad9473e1eb46a5a7aaf6d3a2d1e0b24c917f (diff)
Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into org.openembedded.dev
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);
+