From 6392888badbbb78ffed4488bc7c0029f4096cd53 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Sun, 2 Oct 2011 16:43:57 +0100 Subject: omapdrm dont use omapdrm include if not drm config Signed-off-by: Andy Green --- arch/arm/plat-omap/fb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/plat-omap/fb.c b/arch/arm/plat-omap/fb.c index 61e84936544..9a18e7ba64c 100644 --- a/arch/arm/plat-omap/fb.c +++ b/arch/arm/plat-omap/fb.c @@ -422,10 +422,10 @@ unsigned long __init omapfb_reserve_sram(unsigned long sram_pstart, /* DRM/GPU stuff should maybe move to different file? */ -#include - #if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE) +#include + static struct platform_device omap_drm_device = { .name = "omap_gpu", .id = 0, -- cgit v1.2.3