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 | |
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')
-rw-r--r-- | packages/linux/linux-openmoko/defconfig-oe | 4 | ||||
-rw-r--r-- | packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/packages/linux/linux-openmoko/defconfig-oe b/packages/linux/linux-openmoko/defconfig-oe index 5b8fb3776a..e3714b735e 100644 --- a/packages/linux/linux-openmoko/defconfig-oe +++ b/packages/linux/linux-openmoko/defconfig-oe @@ -1023,9 +1023,9 @@ CONFIG_POWER_SUPPLY=y # CONFIG_PDA_POWER is not set # CONFIG_APM_POWER is not set # CONFIG_BATTERY_DS2760 is not set -### override CONFIG_BATTERY_BQ27000_HDQ=y +CONFIG_BATTERY_BQ27000_HDQ=y CONFIG_GTA02_HDQ=y -### override CONFIG_BATTERY_GTA01=y +CONFIG_BATTERY_GTA01=y # CONFIG_HWMON is not set CONFIG_WATCHDOG=y # CONFIG_WATCHDOG_NOWAYOUT is not set 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); + |