From patchwork Thu Apr 24 12:28:25 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 28971 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f199.google.com (mail-ob0-f199.google.com [209.85.214.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 32228203AC for ; Thu, 24 Apr 2014 12:39:08 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id gq1sf13858975obb.2 for ; Thu, 24 Apr 2014 05:39:07 -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=Uy1H/UoGJN8jzt3RNzrAnUFwFFTJgGq2t8uDsvd+r8k=; b=OJKQU/L4vX2iAXTQe5bU3qp8iLTjA1uLmrEPlrw2ZNyttmqJHduM0QGHKoeFo/xdYW O6ErUXUHLMNqeK2dv8Ti4hiEsLIswIxebiBRfxlNQQXLpBte6jkNLjQNNP761Qf8pnQt VpcDdC1bfZyfQ3JskWwM0j/2dsqQqR28O2caVbl9DLhcuZZw0uJMUHyREqf3OXxCXjke YLcfF6bSCIfYy77CFrhf+mtr56LB3/CK0oAP400gmXU20q0eATmhiF178rNmAS4eyIkf nYvLWqn7zFhxf8ZUBDFy0E6fPhlH6Svuj6h8lv9DNwOFz6NxLr5RjFWNPLTn3c/zJ9LP HrIw== X-Gm-Message-State: ALoCoQkQcdh3YzXjhTRCICvyegM5c7rik1yXfqEMdsyr/MHT/L6Vs/Gv/D7DPXUtt9QCjmLfOoyR X-Received: by 10.50.254.1 with SMTP id ae1mr4956622igd.6.1398343147700; Thu, 24 Apr 2014 05:39:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.98.229 with SMTP id o92ls999104qge.95.gmail; Thu, 24 Apr 2014 05:39:07 -0700 (PDT) X-Received: by 10.58.122.164 with SMTP id lt4mr1121774veb.2.1398343147568; Thu, 24 Apr 2014 05:39:07 -0700 (PDT) Received: from mail-ve0-f170.google.com (mail-ve0-f170.google.com [209.85.128.170]) by mx.google.com with ESMTPS id xv15si886782veb.44.2014.04.24.05.39.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:39:07 -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.170; Received: by mail-ve0-f170.google.com with SMTP id pa12so2874752veb.1 for ; Thu, 24 Apr 2014 05:39:07 -0700 (PDT) X-Received: by 10.220.83.4 with SMTP id d4mr223719vcl.39.1398343147505; Thu, 24 Apr 2014 05:39:07 -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 ib8csp12606vcb; Thu, 24 Apr 2014 05:39:07 -0700 (PDT) X-Received: by 10.68.104.225 with SMTP id gh1mr19983135pbb.87.1398343146744; Thu, 24 Apr 2014 05:39:06 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ke1si2588036pad.378.2014.04.24.05.39.06; Thu, 24 Apr 2014 05:39:06 -0700 (PDT) Received-SPF: none (google.com: linux-fbdev-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 S1756888AbaDXMhO (ORCPT + 1 other); Thu, 24 Apr 2014 08:37:14 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:49459 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756921AbaDXMhG (ORCPT ); Thu, 24 Apr 2014 08:37:06 -0400 Received: by mail-wi0-f176.google.com with SMTP id r20so975174wiv.9 for ; Thu, 24 Apr 2014 05:37:05 -0700 (PDT) X-Received: by 10.195.18.8 with SMTP id gi8mr937833wjd.75.1398343025460; Thu, 24 Apr 2014 05:37: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 y20sm35144777wiv.14.2014.04.24.05.37.04 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:37:04 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, Peter Griffin , Arnd Bergmann , Milo Kim , Jingoo Han , Bryan Wu , Lee Jones , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org Subject: [PATCH 09/13] video/backlight: LP8788 needs PWM Date: Thu, 24 Apr 2014 13:28:25 +0100 Message-Id: <1398342509-10243-10-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: list List-ID: X-Mailing-List: linux-fbdev@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 LP8788 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: Milo Kim 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: 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 4791af7..ac6bc28 100644 --- a/drivers/video/backlight/Kconfig +++ b/drivers/video/backlight/Kconfig @@ -393,7 +393,7 @@ config BACKLIGHT_LP855X config BACKLIGHT_LP8788 tristate "Backlight driver for TI LP8788 MFD" - depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 + depends on BACKLIGHT_CLASS_DEVICE && MFD_LP8788 && PWM help This supports TI LP8788 backlight driver.