aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-04-13 11:08:02 +0800
committerLily Zhang <r58066@freescale.com>2011-04-14 12:27:22 +0800
commit1dadec13570b85f5d359ad61d0e54af9bc830daf (patch)
tree48cef2621c6d0203b4ebb8c0da2dff44dedb5c20 /include
parent47c2c35a951d359b98c11d49d5c795142f357bb3 (diff)
ENGR00141987-2 add the definition of pwm platform data
Add the definition of pwm platform data Signed-off-by: Sun Yuxi <b36102@freescale.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fsl_devices.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h
index c34674bf44b..7a3279f46e9 100644
--- a/include/linux/fsl_devices.h
+++ b/include/linux/fsl_devices.h
@@ -278,6 +278,12 @@ struct mxc_audio_platform_data {
void *priv; /* used by board specific functions */
};
+struct mxc_pwm_platform_data {
+ int pwmo_invert;
+ void (*enable_pwm_pad) (void);
+ void (*disable_pwm_pad) (void);
+};
+
/* Returns non-zero if the current suspend operation would
* lead to a deep sleep (i.e. power removed from the core,
* instead of just the clock).