diff options
author | Andy Green <andy.green@linaro.org> | 2011-10-02 16:43:57 +0100 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2011-10-02 16:43:57 +0100 |
commit | 6392888badbbb78ffed4488bc7c0029f4096cd53 (patch) | |
tree | 5c89cb1a9dda9af1ba947384b06a9db282ad61b5 | |
parent | f50b5471535bb92c59685dd5049cafc70b7a1f03 (diff) |
omapdrm dont use omapdrm include if not drm config
Signed-off-by: Andy Green <andy.green@linaro.org>
-rw-r--r-- | arch/arm/plat-omap/fb.c | 4 |
1 files 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 <linux/omap_drm.h> - #if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE) +#include <linux/omap_drm.h> + static struct platform_device omap_drm_device = { .name = "omap_gpu", .id = 0, |