From c825f1e82e8af34f46a1de34a3acf49c85927e13 Mon Sep 17 00:00:00 2001 From: Michael 'Mickey' Lauer Date: Sun, 14 Dec 2008 14:36:11 +0100 Subject: linux-openmoko 2.6.24: solve the sysfs battery clash differently as it lead to nonworking builds (too many implicit cross-module dependencies :/) --- .../linux/linux-openmoko/gta01-fix-battery-class-name.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch (limited to 'packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch') 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); + -- cgit v1.2.3