Input: pwm-beeper - add devicetree probing support

A very simple binding, the only property is the phandle to the PWM.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
This commit is contained in:
Sascha Hauer
2012-11-03 12:05:52 -07:00
committed by Dmitry Torokhov
parent 8ed2757edd
commit d56a289be2
3 changed files with 21 additions and 2 deletions

View File

@@ -441,7 +441,7 @@ config INPUT_PCF8574
config INPUT_PWM_BEEPER
tristate "PWM beeper support"
depends on HAVE_PWM
depends on HAVE_PWM || PWM
help
Say Y here to get support for PWM based beeper devices.