From patchwork Wed Jun 1 04:26:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tushar Behera X-Patchwork-Id: 1693 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:54:27 -0000 Delivered-To: patches@linaro.org Received: by 10.52.181.10 with SMTP id ds10cs287846vdc; Tue, 31 May 2011 21:28:53 -0700 (PDT) Received: by 10.42.167.200 with SMTP id t8mr11091422icy.270.1306902533151; Tue, 31 May 2011 21:28:53 -0700 (PDT) Received: from mail-px0-f172.google.com (mail-px0-f172.google.com [209.85.212.172]) by mx.google.com with ESMTPS id j5si1919359ibd.121.2011.05.31.21.28.51 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 21:28:52 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) client-ip=209.85.212.172; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.172 is neither permitted nor denied by best guess record for domain of tushar.behera@linaro.org) smtp.mail=tushar.behera@linaro.org Received: by pxi6 with SMTP id 6so3111198pxi.17 for ; Tue, 31 May 2011 21:28:51 -0700 (PDT) Received: by 10.68.68.239 with SMTP id z15mr2749140pbt.463.1306902531266; Tue, 31 May 2011 21:28:51 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id i7sm673213pbj.58.2011.05.31.21.28.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2011 21:28:50 -0700 (PDT) From: Tushar Behera To: linaro-dev@lists.linaro.org Cc: rob.clark@linaro.org, patches@linaro.org Subject: [PATCH] drm: fix compilation warning with i386_defconfig Date: Wed, 1 Jun 2011 09:56:56 +0530 Message-Id: <1306902416-25567-1-git-send-email-tushar.behera@linaro.org> X-Mailer: git-send-email 1.7.1 The patch d795e2c "Adding omap_gpu drm display driver" introduces following compilation warning when the kernel is compiled for x86 architecture (i386_defconfig). Also the kernel compilation is unsuccessful because of calls to omap specific platform header files. warning: (VIDEO_OMAP2_VOUT && DRM_OMAP) selects OMAP2_DSS which has unmet direct dependencies (HAS_IOMEM && ARCH_OMAP2PLUS) The problem is fixed by making DRM_OMAP depend on ARCH_OMAP2. Signed-off-by: Tushar Behera --- drivers/gpu/drm/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/Kconfig b/drivers/gpu/drm/Kconfig index fdef87b..0949995 100644 --- a/drivers/gpu/drm/Kconfig +++ b/drivers/gpu/drm/Kconfig @@ -169,7 +169,7 @@ config DRM_SAVAGE config DRM_OMAP tristate "OMAP GPU (EXPERIMENTAL)" - depends on DRM && !CONFIG_FB_OMAP2 + depends on DRM && ARCH_OMAP2 && !CONFIG_FB_OMAP2 select DRM_KMS_HELPER select OMAP2_VRAM select OMAP2_DSS