From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lars-Peter Clausen Subject: Re: [PATCH] pwm: Get rid of HAVE_PWM Date: Thu, 04 Oct 2012 17:00:23 +0200 Message-ID: <506DA487.9070400@metafoo.de> References: <1349330819-11924-1-git-send-email-thierry.reding@avionic-design.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1349330819-11924-1-git-send-email-thierry.reding@avionic-design.de> Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-subscribe: List-owner: List-post: List-archive: To: Thierry Reding Cc: linux-kernel@vger.kernel.org, Russell King , Shawn Guo , Eric Miao , Haojian Zhuang , Ralf Baechle , Dmitry Torokhov , Bryan Wu , Richard Purdie , Samuel Ortiz , Ashish Jangam , Andrew Jones , linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, linux-input@vger.kernel.org, linux-leds@vger.kernel.org List-Id: linux-input@vger.kernel.org On 10/04/2012 08:06 AM, Thierry Reding wrote: > [...] > diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig > index 331d574..b38f23d 100644 > --- a/arch/mips/Kconfig > +++ b/arch/mips/Kconfig > @@ -219,7 +219,8 @@ config MACH_JZ4740 > select GENERIC_GPIO > select ARCH_REQUIRE_GPIOLIB > select SYS_HAS_EARLY_PRINTK > - select HAVE_PWM > + select PWM > + select PWM_JZ4740 > select HAVE_CLK > select GENERIC_IRQ_CHIP I'm not sure if this is such a good idea, not all jz4740 based board necessarily require PWM. - Lars