summaryrefslogtreecommitdiffstats
path: root/include/pwm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pwm.h')
-rw-r--r--include/pwm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pwm.h b/include/pwm.h
index 5ca9fa056b..59d86d497d 100644
--- a/include/pwm.h
+++ b/include/pwm.h
@@ -9,6 +9,8 @@ struct device_d;
*/
struct pwm_device *pwm_request(const char *pwmname);
+struct pwm_device *of_pwm_request(struct device_node *np, const char *con_id);
+
/*
* pwm_free - free a PWM device
*/