From patchwork Thu Apr 24 12:28:28 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 28973 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-yk0-f197.google.com (mail-yk0-f197.google.com [209.85.160.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 5465F203AC for ; Thu, 24 Apr 2014 12:40:41 +0000 (UTC) Received: by mail-yk0-f197.google.com with SMTP id 19sf5531630ykq.0 for ; Thu, 24 Apr 2014 05:40:41 -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=C3CX+fivS2X2NR0Cympn1CoethyCVtI6GzsupXqwdkg=; b=L40QXUF2HRdaTKnkd2uQtYOmB2KZWgElqDYSpPr+MiNPGaiKEfLhjSns13r+Osg0/Q ipSC61m+RYZalGUlvpyNZB/Wqmdo0rY7c3EWeLb03o4ElszKdm5XpQoajhcvwRDQzfX7 Wl7LaOp7829DKqzoHZwqQWcMD5MU9NGjyb+QmO6GDAu9PA/riQHTYKvhD33vnGxbjLUJ 1oHDpIp9BTWlrGVwL4MIQtLPQ19FvMygCIWQMJTQkQUZnjff9R/clvueWMURtLukqOjC cTtgGYfBy6RYLgi7WxGrGvSC/MIBFK7Vy+48l7jbP0f/iV408I7p0QhwW1n72Gzs9W9l knzg== X-Gm-Message-State: ALoCoQk3ZXOk0zSV/zSvSUu2SUTiHFgXp2IeE1pGkcY7W3hgMgks5SkBaTTSg71itdnH3Ebe+w6r X-Received: by 10.58.161.175 with SMTP id xt15mr1073364veb.19.1398343240961; Thu, 24 Apr 2014 05:40:40 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.96.8 with SMTP id j8ls1111781qge.45.gmail; Thu, 24 Apr 2014 05:40:40 -0700 (PDT) X-Received: by 10.52.250.4 with SMTP id yy4mr70443vdc.56.1398343240848; Thu, 24 Apr 2014 05:40:40 -0700 (PDT) Received: from mail-vc0-f181.google.com (mail-vc0-f181.google.com [209.85.220.181]) by mx.google.com with ESMTPS id wd2si889653veb.5.2014.04.24.05.40.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:40:40 -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.181; Received: by mail-vc0-f181.google.com with SMTP id id10so2894895vcb.12 for ; Thu, 24 Apr 2014 05:40:40 -0700 (PDT) X-Received: by 10.58.220.161 with SMTP id px1mr1094071vec.13.1398343240710; Thu, 24 Apr 2014 05:40:40 -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 ib8csp12732vcb; Thu, 24 Apr 2014 05:40:40 -0700 (PDT) X-Received: by 10.68.244.229 with SMTP id xj5mr3087805pbc.108.1398343239867; Thu, 24 Apr 2014 05:40:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kk7si599744pbc.274.2014.04.24.05.40.39; Thu, 24 Apr 2014 05:40:39 -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 S1756948AbaDXMk2 (ORCPT + 27 others); Thu, 24 Apr 2014 08:40:28 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:58933 "EHLO mail-wi0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757264AbaDXMhL (ORCPT ); Thu, 24 Apr 2014 08:37:11 -0400 Received: by mail-wi0-f173.google.com with SMTP id z2so978651wiv.6 for ; Thu, 24 Apr 2014 05:37:10 -0700 (PDT) X-Received: by 10.180.11.239 with SMTP id t15mr2655611wib.25.1398343030587; Thu, 24 Apr 2014 05:37:10 -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.09 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:37:10 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, Arnd Bergmann , Peter Griffin , Jingoo Han , Milo Kim , Bryan Wu , Lee Jones , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org Subject: [PATCH 12/13] video/backlight: LP855X needs PWM Date: Thu, 24 Apr 2014 13:28:28 +0100 Message-Id: <1398342509-10243-13-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: , 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: Milo Kim 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: Milo Kim 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 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.