From patchwork Mon Jun 20 10:46:01 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 2075 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 8F2FE23F4D for ; Mon, 20 Jun 2011 10:46:44 +0000 (UTC) Received: from mail-vw0-f52.google.com (mail-vw0-f52.google.com [209.85.212.52]) by fiordland.canonical.com (Postfix) with ESMTP id 58137A1807B for ; Mon, 20 Jun 2011 10:46:44 +0000 (UTC) Received: by vws16 with SMTP id 16so3356538vws.11 for ; Mon, 20 Jun 2011 03:46:43 -0700 (PDT) Received: by 10.52.168.65 with SMTP id zu1mr2780201vdb.207.1308566803325; Mon, 20 Jun 2011 03:46:43 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.52.183.130 with SMTP id em2cs23834vdc; Mon, 20 Jun 2011 03:46:43 -0700 (PDT) Received: by 10.42.133.136 with SMTP id h8mr6177340ict.39.1308566802759; Mon, 20 Jun 2011 03:46:42 -0700 (PDT) Received: from mail-pv0-f178.google.com (mail-pv0-f178.google.com [74.125.83.178]) by mx.google.com with ESMTPS id u5si2944063ics.124.2011.06.20.03.46.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2011 03:46:42 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.83.178 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=74.125.83.178; Authentication-Results: mx.google.com; spf=neutral (google.com: 74.125.83.178 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by mail-pv0-f178.google.com with SMTP id 7so1931352pvg.37 for ; Mon, 20 Jun 2011 03:46:42 -0700 (PDT) Received: by 10.68.20.162 with SMTP id o2mr2017982pbe.394.1308566802255; Mon, 20 Jun 2011 03:46:42 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i9sm1145895pbk.4.2011.06.20.03.46.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 20 Jun 2011 03:46:41 -0700 (PDT) From: Tushar Behera To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fbdev@vger.kernel.org, linux-omap@vger.kernel.org Cc: linux@arm.linux.org.uk, tony@atomide.com, lethal@linux-sh.org, linaro-dev@lists.linaro.org, patches@linaro.org, Tomi Valkeinen Subject: [PATCH 2/2] video: omap2: Compile omap2 support only when needed Date: Mon, 20 Jun 2011 16:16:01 +0530 Message-Id: <1308566761-2850-3-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1308566761-2850-1-git-send-email-tushar.behera@linaro.org> References: <1308566761-2850-1-git-send-email-tushar.behera@linaro.org> Currently display support for omap2 is selected by default and it gets built for all the configurations. Instead of it being a built-in feature, it's compilation should depend on the config option CONFIG_FB_OMAP2. Cc: Paul Mundt Cc: Tomi Valkeinen Cc: Tony Lindgren Signed-off-by: Tushar Behera --- drivers/video/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/Makefile b/drivers/video/Makefile index 8b83129..a19e44e 100644 --- a/drivers/video/Makefile +++ b/drivers/video/Makefile @@ -133,7 +133,7 @@ obj-$(CONFIG_FB_SH_MOBILE_HDMI) += sh_mobile_hdmi.o obj-$(CONFIG_FB_SH_MOBILE_MERAM) += sh_mobile_meram.o obj-$(CONFIG_FB_SH_MOBILE_LCDC) += sh_mobile_lcdcfb.o obj-$(CONFIG_FB_OMAP) += omap/ -obj-y += omap2/ +obj-$(CONFIG_FB_OMAP2) += omap2/ obj-$(CONFIG_XEN_FBDEV_FRONTEND) += xen-fbfront.o obj-$(CONFIG_FB_CARMINE) += carminefb.o obj-$(CONFIG_FB_MB862XX) += mb862xx/