aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches/0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/s3c24xx/patches/0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch')
-rwxr-xr-xtarget/linux/s3c24xx/patches/0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches/0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch b/target/linux/s3c24xx/patches/0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch
new file mode 100755
index 0000000000..7a81268212
--- /dev/null
+++ b/target/linux/s3c24xx/patches/0197-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch
@@ -0,0 +1,54 @@
+From 88d4ef52c0b77479032e0eb319e936c9306f1d19 Mon Sep 17 00:00:00 2001
+From: Holger Freyther <zecke@openmoko.org>
+Date: Fri, 25 Jul 2008 23:06:17 +0100
+Subject: [PATCH] From 683ef8067815f6ba0ede73fa71973823726213a3 Mon Sep 17 00:00:00 2001
+ Subject: [PATCH] [janitor] Make checkpatch happy on the header files
+
+---
+ include/linux/pcf50606.h | 2 +-
+ include/linux/pcf50633.h | 2 +-
+ include/linux/pcf506xx.h | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/include/linux/pcf50606.h b/include/linux/pcf50606.h
+index 167328f..b17d35b 100644
+--- a/include/linux/pcf50606.h
++++ b/include/linux/pcf50606.h
+@@ -85,7 +85,7 @@ struct pcf50606_platform_data {
+ struct {
+ u_int8_t mbcc3; /* charger voltage / current */
+ } charger;
+- pmu_cb *cb;
++ pmu_cb cb;
+ };
+
+ #endif
+diff --git a/include/linux/pcf50633.h b/include/linux/pcf50633.h
+index 4653285..b4d65dc 100644
+--- a/include/linux/pcf50633.h
++++ b/include/linux/pcf50633.h
+@@ -176,7 +176,7 @@ struct pcf50633_platform_data {
+ struct {
+ u_int8_t mbcc3; /* charger voltage / current */
+ } charger;
+- pmu_cb *cb;
++ pmu_cb cb;
+
+ /* post-resume backlight bringup */
+ int defer_resume_backlight;
+diff --git a/include/linux/pcf506xx.h b/include/linux/pcf506xx.h
+index 9069bd4..a1365e0 100644
+--- a/include/linux/pcf506xx.h
++++ b/include/linux/pcf506xx.h
+@@ -26,7 +26,7 @@ enum pmu_event {
+ __NUM_PMU_EVTS
+ };
+
+-typedef int pmu_cb(struct device *dev, unsigned int feature,
++typedef int (*pmu_cb)(struct device *dev, unsigned int feature,
+ enum pmu_event event);
+
+
+--
+1.5.6.3
+