From patchwork Thu Apr 24 12:28:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 4050511 Return-Path: X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 66137BFF02 for ; Thu, 24 Apr 2014 12:38:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 8B95120303 for ; Thu, 24 Apr 2014 12:38:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B8A2C202F8 for ; Thu, 24 Apr 2014 12:38:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757305AbaDXMhQ (ORCPT ); Thu, 24 Apr 2014 08:37:16 -0400 Received: from mail-wg0-f45.google.com ([74.125.82.45]:57246 "EHLO mail-wg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757256AbaDXMhJ (ORCPT ); Thu, 24 Apr 2014 08:37:09 -0400 Received: by mail-wg0-f45.google.com with SMTP id l18so2148982wgh.4 for ; Thu, 24 Apr 2014 05:37: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:from:to:cc:subject:date:message-id:in-reply-to :references; bh=OdIsNVU0udPWxzjncSNgsPO7tEeIMbLBXgk6a+w6PJc=; b=jrBKJoIxE8VmK8O3zCaBK5LhMxDJXWJY4yC/qUr9b01yopYzd9YXY3URWscFr8kgj2 Q29JUg0t+bdJSOnM3nlMv2FP8dm8YO0hSjs275owq5nOutckMpVjPW2dGw37ilMvimYq I+M9zcI+UFnaPLdnxmjXfpH7T1Nczg5InVNKBzzrFc9Jp2SVX5lMC4AT0OkssmlgKUWY VOMRziuqSz0jO8THAX5/JPyfEn9n4ZYH89mye3ZacoOCtzEWkJ/f1YfJU7fSzI3C6gs/ iasXyDjrBiP6OzDCrvGwzzzTflXlwCeRcat2g+OfixCDWRQCoBs61O8Zr1TXgZlfS9xd 8K+Q== X-Gm-Message-State: ALoCoQmqKCFmotCkx80odcBGXcOH1dr6TYrDSHuHZ9KRU2jxPGOev84Wgz6BJd5Hu1xGh++uVGUp X-Received: by 10.194.60.4 with SMTP id d4mr1559304wjr.28.1398343028560; Thu, 24 Apr 2014 05:37:08 -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.07 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 24 Apr 2014 05:37:08 -0700 (PDT) From: Peter Griffin To: linux-kernel@vger.kernel.org Cc: linaro-kernel@lists.linaro.org, Arnd Bergmann , Peter Griffin , Jean-Christophe Plagniol-Villard , Tomi Valkeinen , linux-fbdev@vger.kernel.org, Wan ZongShun Subject: [PATCH 11/13] video/nuc900: allow modular build Date: Thu, 24 Apr 2014 13:28:27 +0100 Message-Id: <1398342509-10243-12-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 From: Arnd Bergmann The frame buffer core may be a loadable module, and in this case, the nuc900 driver cannot be built-in. Turning it into a tristate option lets Kconfig work out the dependency and avoid broken builds. Signed-off-by: Arnd Bergmann Signed-off-by: Peter Griffin Cc: Jean-Christophe Plagniol-Villard Cc: Tomi Valkeinen Cc: linux-fbdev@vger.kernel.org Cc: Wan ZongShun --- drivers/video/fbdev/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/Kconfig b/drivers/video/fbdev/Kconfig index e593365..95396de 100644 --- a/drivers/video/fbdev/Kconfig +++ b/drivers/video/fbdev/Kconfig @@ -2065,7 +2065,7 @@ config FB_S3C2410_DEBUG through sysfs config FB_NUC900 - bool "NUC900 LCD framebuffer support" + tristate "NUC900 LCD framebuffer support" depends on FB && ARCH_W90X900 select FB_CFB_FILLRECT select FB_CFB_COPYAREA