diff options
Diffstat (limited to 'meta/recipes-kernel/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch')
-rw-r--r-- | meta/recipes-kernel/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-kernel/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch b/meta/recipes-kernel/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch deleted file mode 100644 index 51ec773e5c..0000000000 --- a/meta/recipes-kernel/linux/linux-2.6.23/em-x270/em-x270-battery-sysfs-fix.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | Index: linux-2.6.23/arch/arm/mach-pxa/em-x270-pm.c | ||
2 | =================================================================== | ||
3 | --- linux-2.6.23.orig/arch/arm/mach-pxa/em-x270-pm.c 2008-02-21 14:30:06.000000000 +0000 | ||
4 | +++ linux-2.6.23/arch/arm/mach-pxa/em-x270-pm.c 2008-02-21 14:59:24.000000000 +0000 | ||
5 | @@ -461,6 +461,9 @@ | ||
6 | else { | ||
7 | val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; | ||
8 | } | ||
9 | + } | ||
10 | + else { | ||
11 | + val->intval = POWER_SUPPLY_STATUS_NOT_CHARGING; | ||
12 | } | ||
13 | } | ||
14 | else { | ||
15 | @@ -547,8 +550,9 @@ | ||
16 | pr_debug("%s: MODEL = %s\n", __FUNCTION__, val->strval); | ||
17 | break; | ||
18 | default: break; | ||
19 | + return -1; | ||
20 | } | ||
21 | - | ||
22 | + | ||
23 | return 0; | ||
24 | } | ||
25 | |||
26 | Index: linux-2.6.23/drivers/power/em_x270_battery.c | ||
27 | =================================================================== | ||
28 | --- linux-2.6.23.orig/drivers/power/em_x270_battery.c 2008-02-21 12:21:53.000000000 +0000 | ||
29 | +++ linux-2.6.23/drivers/power/em_x270_battery.c 2008-02-21 15:00:51.000000000 +0000 | ||
30 | @@ -418,8 +418,9 @@ | ||
31 | pr_debug("%s: MODEL = %s\n", __FUNCTION__, val->strval); | ||
32 | break; | ||
33 | default: break; | ||
34 | + return -1; | ||
35 | } | ||
36 | - | ||
37 | + | ||
38 | return 0; | ||
39 | } | ||
40 | |||