From patchwork Wed Apr 23 17:28:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 28926 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ie0-f200.google.com (mail-ie0-f200.google.com [209.85.223.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 50FD3203AC for ; Wed, 23 Apr 2014 17:29:09 +0000 (UTC) Received: by mail-ie0-f200.google.com with SMTP id lx4sf7278889iec.11 for ; Wed, 23 Apr 2014 10:29:08 -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:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=Ndv5TTWyxURTsMKsjwgo6mc2mR+/F3wXaVAedrDfm2U=; b=e4zA29OQgTjObaCnM1BFKJVpJLLWYRpFSqkoqJeiM1efM890NJuAG72WaJy0sklCav xiGIrrWcKTk1QmOcVLpSRd8Hwbig7tlJ0J6seZf9CtnRROdtPQGfQlnQjSK0p77++8Zz BG0ZhJPPqLrwbuedhuB9XIj/bXRS9KRptGXCNhqU5j0TQGlOL51ygyF/5sFlkvs7L877 /5x37Miof6MaKvRtrJI3j11NbwwIlamNGeZhB24fiNeIG/UOPH8Bws9TAVpgEytUqI0k iMhln7Z5EL9YO801TnpOX/LMTsPN9EtLzzsi+hQEXsSjNkHIfHlRS6CBFhg06dwgXsYt 51jw== X-Gm-Message-State: ALoCoQlE+PTchGJArlC+TtC+uoh+nALu0bbcjvrIs3PBMF1p2U5d1Ae4rC7FM8z7VZHEBJecjuP/ X-Received: by 10.50.73.132 with SMTP id l4mr2007496igv.5.1398274148835; Wed, 23 Apr 2014 10:29:08 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.80.107 with SMTP id b98ls676900qgd.64.gmail; Wed, 23 Apr 2014 10:29:08 -0700 (PDT) X-Received: by 10.52.165.235 with SMTP id zb11mr617026vdb.82.1398274148646; Wed, 23 Apr 2014 10:29:08 -0700 (PDT) Received: from mail-ve0-f171.google.com (mail-ve0-f171.google.com [209.85.128.171]) by mx.google.com with ESMTPS id vd8si301604vdc.178.2014.04.23.10.29.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 10:29:08 -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.128.171; Received: by mail-ve0-f171.google.com with SMTP id jy13so1530553veb.16 for ; Wed, 23 Apr 2014 10:29:08 -0700 (PDT) X-Received: by 10.58.187.78 with SMTP id fq14mr45351422vec.9.1398274148573; Wed, 23 Apr 2014 10:29:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp120716vcb; Wed, 23 Apr 2014 10:29:07 -0700 (PDT) X-Received: by 10.180.91.40 with SMTP id cb8mr2797473wib.34.1398274146886; Wed, 23 Apr 2014 10:29:06 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) by mx.google.com with ESMTPS id r9si1743453wia.103.2014.04.23.10.29.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 10:29:06 -0700 (PDT) Received-SPF: none (google.com: peter.griffin@linaro.org does not designate permitted sender hosts) client-ip=209.85.212.170; Received: by mail-wi0-f170.google.com with SMTP id bs8so75717wib.5 for ; Wed, 23 Apr 2014 10:29:05 -0700 (PDT) X-Received: by 10.194.185.148 with SMTP id fc20mr40254941wjc.27.1398274145271; Wed, 23 Apr 2014 10:29:05 -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 go20sm2372382wjc.18.2014.04.23.10.29.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 10:29:04 -0700 (PDT) From: Peter Griffin To: peter.griffin@linaro.org Cc: patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH 12/13] video/backlight: LP855X needs PWM Date: Wed, 23 Apr 2014 18:28:46 +0100 Message-Id: <1398274127-2106-12-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398274127-2106-1-git-send-email-peter.griffin@linaro.org> References: <1398274127-2106-1-git-send-email-peter.griffin@linaro.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 Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Arnd Bergmann The LP855X 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. 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 --- 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 5675511..5d44905 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -386,7 +386,7 @@ config BACKLIGHT_LM3639 config BACKLIGHT_LP855X tristate "Backlight driver for TI LP855X" - depends on BACKLIGHT_CLASS_DEVICE && I2C + depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM help This supports TI LP8550, LP8551, LP8552, LP8553, LP8555, LP8556 and LP8557 backlight driver.