From patchwork Thu Apr 24 12:28:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4050631 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 70AA49F1F4 for ; Thu, 24 Apr 2014 12:41:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8E45C20295 for ; Thu, 24 Apr 2014 12:41:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C1D9F20219 for ; Thu, 24 Apr 2014 12:41:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753315AbaDXMlS (ORCPT ); Thu, 24 Apr 2014 08:41:18 -0400 Received: from mail-we0-f174.google.com ([74.125.82.174]:41640 "EHLO mail-we0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756874AbaDXMhE (ORCPT ); Thu, 24 Apr 2014 08:37:04 -0400 Received: by mail-we0-f174.google.com with SMTP id w62so938292wes.33 for ; Thu, 24 Apr 2014 05:37:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Y8Tf7PNTusO8B8mcKZP2Exa9dg2hLA3EmwrZH4ELD2U=; b=L+2vGIYFnBTQPCluOOZI/aIsdy+CJqdEdgoo6pufT5mKPyqMXF8J2lRuUdPPPDls5S Z+sXivK1SlT4XnA2RD36H3lgi5QfQXZ1PkMKOYaqq+/fDPtLkR1miVqrm0MUa7rIlvRt /Tv4udOLlAU1ZI9y2N54itLG51wq6v4+PvzfiEQt8IAjUbNlYucnOfmo90jdwhdQTw3Y 8urPyfJ46fPKSEt9IKlZeQUFoinX8y4I61Nzu9y2tgij32+i6MB8lYFZv60GzOvk69yB szGFlEFMTOcayHYpewn0IFSA4RCB5iyLg7hgpfVq2y4Mbf2h1rOPMn4dXdJVOOvNT7g0 sikQ== X-Gm-Message-State: ALoCoQl2D0mSYopzANBZizDidnVJhzuDbuy+6B+W+k81Hn3JuPozgDN8dxkyi2yi46Beq0v5TP3k X-Received: by 10.194.172.38 with SMTP id az6mr1439736wjc.33.1398343023768; Thu, 24 Apr 2014 05:37:03 -0700 (PDT) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id y20sm35144777wiv.14.2014.04.24.05.37.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:37:03 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, Peter Griffin , Arnd Bergmann , Jingoo Han , Bryan Wu , Lee Jones , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org Subject: [PATCH 08/13] video/backlight: LM3630A needs PWM Date: Thu, 24 Apr 2014 13:28:24 +0100 Message-Id: <1398342509-10243-9-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398342509-10243-1-git-send-email-peter.griffin@linaro.org> References: <1398342509-10243-1-git-send-email-peter.griffin@linaro.org> Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The LM3630A driver cannot be successfully built if we don't enable the PWM subsystem. This patch makes that dependency explicit in Kconfig and prevents broken randconfig builds. Based on Arnd Bergmann patch but split out into seperate commits per driver based on feedback. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jingoo Han Cc: Bryan Wu Cc: Lee Jones Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org Acked-by: Bryan Wu Acked-by: Jingoo Han --- drivers/video/backlight/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig index 5a3eb2e..4791af7 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -370,7 +370,7 @@ config BACKLIGHT_AAT2870 config BACKLIGHT_LM3630A tristate "Backlight Driver for LM3630A" - depends on BACKLIGHT_CLASS_DEVICE && I2C + depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM select REGMAP_I2C help This supports TI LM3630A Backlight Driver