changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of...
[openwrt/openwrt.git] / target / linux / s3c24xx / patches-2.6.26 / 0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch
1 From 88d4ef52c0b77479032e0eb319e936c9306f1d19 Mon Sep 17 00:00:00 2001
2 From: Holger Freyther <zecke@openmoko.org>
3 Date: Fri, 25 Jul 2008 23:06:17 +0100
4 Subject: [PATCH] From 683ef8067815f6ba0ede73fa71973823726213a3 Mon Sep 17 00:00:00 2001
5 Subject: [PATCH] [janitor] Make checkpatch happy on the header files
6
7 ---
8 include/linux/pcf50606.h | 2 +-
9 include/linux/pcf50633.h | 2 +-
10 include/linux/pcf506xx.h | 2 +-
11 3 files changed, 3 insertions(+), 3 deletions(-)
12
13 diff --git a/include/linux/pcf50606.h b/include/linux/pcf50606.h
14 index 167328f..b17d35b 100644
15 --- a/include/linux/pcf50606.h
16 +++ b/include/linux/pcf50606.h
17 @@ -85,7 +85,7 @@ struct pcf50606_platform_data {
18 struct {
19 u_int8_t mbcc3; /* charger voltage / current */
20 } charger;
21 - pmu_cb *cb;
22 + pmu_cb cb;
23 };
24
25 #endif
26 diff --git a/include/linux/pcf50633.h b/include/linux/pcf50633.h
27 index 4653285..b4d65dc 100644
28 --- a/include/linux/pcf50633.h
29 +++ b/include/linux/pcf50633.h
30 @@ -176,7 +176,7 @@ struct pcf50633_platform_data {
31 struct {
32 u_int8_t mbcc3; /* charger voltage / current */
33 } charger;
34 - pmu_cb *cb;
35 + pmu_cb cb;
36
37 /* post-resume backlight bringup */
38 int defer_resume_backlight;
39 diff --git a/include/linux/pcf506xx.h b/include/linux/pcf506xx.h
40 index 9069bd4..a1365e0 100644
41 --- a/include/linux/pcf506xx.h
42 +++ b/include/linux/pcf506xx.h
43 @@ -26,7 +26,7 @@ enum pmu_event {
44 __NUM_PMU_EVTS
45 };
46
47 -typedef int pmu_cb(struct device *dev, unsigned int feature,
48 +typedef int (*pmu_cb)(struct device *dev, unsigned int feature,
49 enum pmu_event event);
50
51
52 --
53 1.5.6.3
54