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: 4050521 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 74C679F1F4 for ; Thu, 24 Apr 2014 12:39:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8D03E20303 for ; Thu, 24 Apr 2014 12:39:07 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A81F9202F8 for ; Thu, 24 Apr 2014 12:39:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756888AbaDXMhO (ORCPT ); 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-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=+wkY+0/0SrAO3Rkm5fcY3qva0Qh7IJCRH7MJqmQ+6VI=; b=Mozzb9wdDpZo3OVxgcHTr6ptEYAqeCcsmrzgl97upV32WlQqFWCamPOPowZeKTQX2J Bwyhdxa38NlSBU+GYUmr2lQyRGGUM2Y+5n0h7U+dv75S1eXaSsZA8w6ETwq27gw0rONE 2onLuqCml16t/fCxaeXjFodjHMogQYbcSPYws1DNK4TFpEhYLREYb/mXFHuNS6mZn5/f SY127ApXsniJOqUjxJ14U6PD+qYhz8h55FcD1r9g9FyBSLAb3aLDt/WKE9/eBTceMMs/ daU2ltY/6TK8gFEnIeWEJsu+B0B8nlcWAIgMw21eCUeV96T9SNOnYU5yXtBfLJ80hcxJ fnYg== X-Gm-Message-State: ALoCoQnRY5fN1nK9+1PTAQFODgF8KgVB4KcZDcC7WaJqSCnEV0lz2jy3Fa5hHxD3NzHq/pE6+PlN 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: 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 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.