diff options
author | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-12-14 14:36:11 +0100 |
---|---|---|
committer | Michael 'Mickey' Lauer <mickey@vanille-media.de> | 2008-12-14 14:36:11 +0100 |
commit | c825f1e82e8af34f46a1de34a3acf49c85927e13 (patch) | |
tree | 64aff4c46d52c0db1dd8e1a176b414be2a4a9084 /packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch | |
parent | 7eb235c8a93d0b7a0d043c6f6247a006407e1202 (diff) |
linux-openmoko 2.6.24: solve the sysfs battery clash differently as it lead to nonworking builds
(too many implicit cross-module dependencies :/)
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.patch | 13 |
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); + |