Re: [PATCH v3 5/6] pwm: enable TI PWMSS if the IIO tiecap driver is selected

From: Thierry Reding
Date: Wed Feb 26 2014 - 09:15:48 EST


On Wed, Feb 05, 2014 at 02:01:40PM -0500, Matt Porter wrote:
> The IIO TI ECAP driver depends on the TI PWMSS management
> driver in this subsystem. Enable PWMSS when the IIO TI ECAP
> driver is selected.
>
> Signed-off-by: Matt Porter <mporter@xxxxxxxxxx>
> ---
> drivers/pwm/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 22f2f28..bd3cc65 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -219,7 +219,7 @@ config PWM_TIEHRPWM
>
> config PWM_TIPWMSS
> bool
> - default y if SOC_AM33XX && (PWM_TIECAP || PWM_TIEHRPWM)
> + default y if SOC_AM33XX && (IIO_TIECAP || PWM_TIECAP || PWM_TIEHRPWM)
> help
> PWM Subsystem driver support for AM33xx SOC.

Perhaps this module should move out of drivers/pwm if it's no longer a
PWM specific module.

Thierry

Attachment: pgp3muxYqLBQb.pgp
Description: PGP signature