summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Clark <rob@ti.com>2012-11-09 16:45:51 +0000
committerAndrey Konovalov <andrey.konovalov@linaro.org>2013-01-21 21:49:16 +0400
commit57efe68d9601c3c3519871e41f665feb63e8291c (patch)
treea4de50b676cb501d55afe7107558981c49278739
parentc47f0a04055667de076aacb549f198205dadc999 (diff)
The patch 'drm/omap: add support for ARCH_MULTIPLATFORM' had a small mistake, using GET_OMAP_REVISION() instead of GET_OMAP_TYPE. Signed-off-by: Rob Clark <rob@ti.com>
-rw-r--r--arch/arm/mach-omap2/drm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c
index 4c7566c7e24a..5c76c01523b1 100644
--- a/arch/arm/mach-omap2/drm.c
+++ b/arch/arm/mach-omap2/drm.c
@@ -27,6 +27,7 @@
#include "omap_device.h"
#include "omap_hwmod.h"
+#include "soc.h"
#if defined(CONFIG_DRM_OMAP) || (CONFIG_DRM_OMAP_MODULE)
@@ -56,7 +57,7 @@ static int __init omap_init_drm(void)
oh->name);
}
- platform_data.omaprev = GET_OMAP_REVISION();
+ platform_data.omaprev = GET_OMAP_TYPE;
return platform_device_register(&omap_drm_device);