X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=drivers%2Fpwm%2Fpwm-tipwmss.h;h=10ad8040408bc944034f2e5314f1e30af0a9ca36;hb=94f1be9798c88b030256bdeb533008c3d55ec2c6;hp=11f76a1e266b8078379e2bbe6830e3877a50c6b8;hpb=3e34c1fc2b51f117045e4a2472572f14ac91df6e;p=~andy%2Flinux diff --git a/drivers/pwm/pwm-tipwmss.h b/drivers/pwm/pwm-tipwmss.h index 11f76a1e266..10ad8040408 100644 --- a/drivers/pwm/pwm-tipwmss.h +++ b/drivers/pwm/pwm-tipwmss.h @@ -18,7 +18,6 @@ #ifndef __TIPWMSS_H #define __TIPWMSS_H -#ifdef CONFIG_PWM_TIPWMSS /* PWM substem clock gating */ #define PWMSS_ECAPCLK_EN BIT(0) #define PWMSS_ECAPCLK_STOP_REQ BIT(1) @@ -28,6 +27,7 @@ #define PWMSS_ECAPCLK_EN_ACK BIT(0) #define PWMSS_EPWMCLK_EN_ACK BIT(8) +#ifdef CONFIG_PWM_TIPWMSS extern u16 pwmss_submodule_state_change(struct device *dev, int set); #else static inline u16 pwmss_submodule_state_change(struct device *dev, int set)