aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-04-13 11:08:02 +0800
committerEric Miao <eric.miao@canonical.com>2011-11-10 07:37:42 +0800
commit088db9c075ef439c0b2695afcecde9e136d7b387 (patch)
tree48cef2621c6d0203b4ebb8c0da2dff44dedb5c20 /include/linux
parent353ce0d61617b2f374948b473dc98a1e707bf7e4 (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/linux')
-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).