From: Yuxi Sun Date: Wed, 13 Apr 2011 03:08:02 +0000 (+0800) Subject: ENGR00141987-2 add the definition of pwm platform data X-Git-Tag: v3.0.35-fsl_4.1.0~2583 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6b962167ddd5bf7fa009b7fd69452c4633ae78ac;p=karo-tx-linux.git ENGR00141987-2 add the definition of pwm platform data Add the definition of pwm platform data Signed-off-by: Sun Yuxi --- diff --git a/include/linux/fsl_devices.h b/include/linux/fsl_devices.h index 7e41d6d279d6..d28f9db2d4ed 100644 --- a/include/linux/fsl_devices.h +++ b/include/linux/fsl_devices.h @@ -283,6 +283,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).