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: 28975 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f200.google.com (mail-ig0-f200.google.com [209.85.213.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0E1DE2036A for ; Thu, 24 Apr 2014 12:41:31 +0000 (UTC) Received: by mail-ig0-f200.google.com with SMTP id l13sf2794094iga.3 for ; Thu, 24 Apr 2014 05:41:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=Kq5b4DTUZzFN+CH0TztSF1dJruMp2RloQria8rlW7N4=; b=klW0Bd4xOek4hW5k0Bry6vCq1ysiR4X9cKImYB9pKJajw96Q1rGo3H6KUJo2odJ2gw pLjSua/eHaX+niC9P2YuY+FziqEZyHzd3+tpczNI1qvjPebHl8YttAsvDc1W2CY0TJj8 mMuuBLXmFBfXjiqz5xkcjb7Z26kmmfQP0iIljJIpz/98MgtuQotfhJIHWXDVD2bV5nYI Y3Q6tETrKDSMnyKICLuTSnGWdN8/Fh0udxZgMdl7Q0wTfdj8bLUQA/9fedumL9jrm96s j6APrHudFgVUIaQHJwr3yUT7igTY6ztfhm23ZpYBYcH21IgzevULvKV4wxYxraAxIhLO qp0Q== X-Gm-Message-State: ALoCoQlyuaNwcnkE6C6NOaLVOtfxyx8La0NuCjiOfwuZ/tb+IP2Q9MEiRHxppJUvY9Fxn6Hxa2Yz X-Received: by 10.182.105.1 with SMTP id gi1mr1105968obb.6.1398343291494; Thu, 24 Apr 2014 05:41:31 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.95.84 with SMTP id h78ls1069638qge.54.gmail; Thu, 24 Apr 2014 05:41:31 -0700 (PDT) X-Received: by 10.58.122.164 with SMTP id lt4mr1127135veb.2.1398343291359; Thu, 24 Apr 2014 05:41:31 -0700 (PDT) Received: from mail-vc0-f177.google.com (mail-vc0-f177.google.com [209.85.220.177]) by mx.google.com with ESMTPS id sn5si885755vdc.83.2014.04.24.05.41.31 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:41:31 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.177; Received: by mail-vc0-f177.google.com with SMTP id if17so2830371vcb.22 for ; Thu, 24 Apr 2014 05:41:31 -0700 (PDT) X-Received: by 10.58.185.145 with SMTP id fc17mr1142569vec.14.1398343291256; Thu, 24 Apr 2014 05:41:31 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp12775vcb; Thu, 24 Apr 2014 05:41:30 -0700 (PDT) X-Received: by 10.68.184.66 with SMTP id es2mr2963730pbc.19.1398343290508; Thu, 24 Apr 2014 05:41:30 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id px1si2629198pbb.112.2014.04.24.05.41.29; Thu, 24 Apr 2014 05:41:29 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756996AbaDXMlV (ORCPT + 27 others); Thu, 24 Apr 2014 08:41:21 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:40765 "EHLO mail-wi0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757189AbaDXMhF (ORCPT ); Thu, 24 Apr 2014 08:37:05 -0400 Received: by mail-wi0-f169.google.com with SMTP id hm4so1135728wib.2 for ; Thu, 24 Apr 2014 05:37:03 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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