[ar71xx] preliminary support for the Ubiquiti RouterStation Pro
[openwrt.git] / target / linux / s3c24xx / patches-2.6.24 / 1217-From-683ef8067815f6ba0ede73fa71973823726213a3-Mon-Se.patch
1 From abd6565704cadc8d0968b6fede8d445f84c870d3 Mon Sep 17 00:00:00 2001
2 From: Holger Freyther <zecke@openmoko.org>
3 Date: Wed, 2 Jul 2008 22:44:41 +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.5
54
This page took 0.044896 seconds and 5 git commands to generate.