aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHolger Freyther <zecke@openmoko.org>2008-11-19 17:09:53 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:09:53 +0000
commit7f5db4663213be7145a590f414cd5bd51335b4dd (patch)
tree74eed342badee4f66e8057ee9b507b548cb70460
parent03b6ebd99640931399054d75f770aa8954ed7088 (diff)
From 683ef8067815f6ba0ede73fa71973823726213a3 Mon Sep 17 00:00:00 2001
Subject: [PATCH] [janitor] Make checkpatch happy on the header files
-rw-r--r--include/linux/pcf50606.h2
-rw-r--r--include/linux/pcf50633.h2
-rw-r--r--include/linux/pcf506xx.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/pcf50606.h b/include/linux/pcf50606.h
index 167328fa659..b17d35b7b68 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 4653285037d..b4d65dcb066 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 9069bd4e088..a1365e03eae 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);