Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753224AbcJHUyT (ORCPT ); Sat, 8 Oct 2016 16:54:19 -0400 Received: from mail-pf0-f181.google.com ([209.85.192.181]:32811 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752194AbcJHUyL (ORCPT ); Sat, 8 Oct 2016 16:54:11 -0400 From: Scott Branden To: Thierry Reding Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, BCM Kernel Feedback , Scott Branden Subject: [PATCH v3] pwm: add depends, COMPILE_TEST and default y for brcm-iproc-pwm Date: Sat, 8 Oct 2016 13:54:05 -0700 Message-Id: <1475960045-19313-1-git-send-email-scott.branden@broadcom.com> X-Mailer: git-send-email 2.5.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 831 Lines: 27 - Add depends on COMMON_CLK for PWM_BCM_IPROC - Enable COMPILE_TEST for broader compile coverage. - Default y for IPROC PWM driver for IPROC SoCs. This allows you to turn it on simply by selecting CONFIG_PWM. Signed-off-by: Scott Branden --- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 80a566a..3eb1b6b 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -76,7 +76,9 @@ config PWM_ATMEL_TCB config PWM_BCM_IPROC tristate "iProc PWM support" - depends on ARCH_BCM_IPROC + depends on ARCH_BCM_IPROC || COMPILE_TEST + depends on COMMON_CLK + default ARCH_BCM_IPROC help Generic PWM framework driver for Broadcom iProc PWM block. This block is used in Broadcom iProc SoC's. -- 2.5.0