Loading include/linux/pwm.h +10 −11 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ #include <linux/mutex.h> #include <linux/of.h> struct pwm_capture; struct seq_file; struct pwm_chip; Loading Loading @@ -251,6 +250,16 @@ pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, return 0; } /** * struct pwm_capture - PWM capture data * @period: period of the PWM signal (in nanoseconds) * @duty_cycle: duty cycle of the PWM signal (in nanoseconds) */ struct pwm_capture { unsigned int period; unsigned int duty_cycle; }; /** * struct pwm_ops - PWM controller operations * @request: optional hook for requesting a PWM Loading Loading @@ -300,16 +309,6 @@ struct pwm_chip { struct pwm_device *pwms; }; /** * struct pwm_capture - PWM capture data * @period: period of the PWM signal (in nanoseconds) * @duty_cycle: duty cycle of the PWM signal (in nanoseconds) */ struct pwm_capture { unsigned int period; unsigned int duty_cycle; }; #if IS_ENABLED(CONFIG_PWM) /* PWM user APIs */ struct pwm_device *pwm_request(int pwm_id, const char *label); Loading Loading
include/linux/pwm.h +10 −11 Original line number Diff line number Diff line Loading @@ -6,7 +6,6 @@ #include <linux/mutex.h> #include <linux/of.h> struct pwm_capture; struct seq_file; struct pwm_chip; Loading Loading @@ -251,6 +250,16 @@ pwm_set_relative_duty_cycle(struct pwm_state *state, unsigned int duty_cycle, return 0; } /** * struct pwm_capture - PWM capture data * @period: period of the PWM signal (in nanoseconds) * @duty_cycle: duty cycle of the PWM signal (in nanoseconds) */ struct pwm_capture { unsigned int period; unsigned int duty_cycle; }; /** * struct pwm_ops - PWM controller operations * @request: optional hook for requesting a PWM Loading Loading @@ -300,16 +309,6 @@ struct pwm_chip { struct pwm_device *pwms; }; /** * struct pwm_capture - PWM capture data * @period: period of the PWM signal (in nanoseconds) * @duty_cycle: duty cycle of the PWM signal (in nanoseconds) */ struct pwm_capture { unsigned int period; unsigned int duty_cycle; }; #if IS_ENABLED(CONFIG_PWM) /* PWM user APIs */ struct pwm_device *pwm_request(int pwm_id, const char *label); Loading