summaryrefslogtreecommitdiff
path: root/packages/linux/linux-openmoko/gta01-fix-battery-class-name.patch
blob: 6e8692c37d7d4a200758d8a61674414b26449eaa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);