/drivers/include/linux/pwm.h |
---|
6,6 → 6,7 |
//#include <linux/of.h> |
struct device; |
struct device_node; |
struct pwm_device; |
struct seq_file; |
223,6 → 224,11 |
return ERR_PTR(-ENODEV); |
} |
static inline struct pwm_device *of_pwm_get(struct device_node *np, |
const char *con_id) |
{ |
return ERR_PTR(-ENODEV); |
} |
static inline void pwm_put(struct pwm_device *pwm) |
{ |
234,6 → 240,12 |
return ERR_PTR(-ENODEV); |
} |
static inline struct pwm_device *devm_of_pwm_get(struct device *dev, |
struct device_node *np, |
const char *con_id) |
{ |
return ERR_PTR(-ENODEV); |
} |
static inline void devm_pwm_put(struct device *dev, struct pwm_device *pwm) |
{ |