diff mbox

pwm: lpss: make it buildable only on X86

Message ID 1408959511-4360-1-git-send-email-andriy.shevchenko@linux.intel.com
State Accepted
Headers show

Commit Message

Andy Shevchenko Aug. 25, 2014, 9:38 a.m. UTC
There is no sign of this IP block on non-x86 architectures and rather will not
be. Thus, make this explicit by applying a direct dependency to X86.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/pwm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Thierry Reding Aug. 25, 2014, 9:45 a.m. UTC | #1
On Mon, Aug 25, 2014 at 12:38:31PM +0300, Andy Shevchenko wrote:
> There is no sign of this IP block on non-x86 architectures and rather will not
> be. Thus, make this explicit by applying a direct dependency to X86.
> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/pwm/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
> index 0907416..3865dfb 100644
> --- a/drivers/pwm/Kconfig
> +++ b/drivers/pwm/Kconfig
> @@ -150,6 +150,7 @@ config PWM_LPC32XX
>  
>  config PWM_LPSS
>  	tristate "Intel LPSS PWM support"
> +	depends on X86
>  	help
>  	  Generic PWM framework driver for Intel Low Power Subsystem PWM
>  	  controller.

Applied, thanks.

Thierry
diff mbox

Patch

diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig
index 0907416..3865dfb 100644
--- a/drivers/pwm/Kconfig
+++ b/drivers/pwm/Kconfig
@@ -150,6 +150,7 @@  config PWM_LPC32XX
 
 config PWM_LPSS
 	tristate "Intel LPSS PWM support"
+	depends on X86
 	help
 	  Generic PWM framework driver for Intel Low Power Subsystem PWM
 	  controller.