From: Rob Clark <r...@ti.com>

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 at ti.com>
---
 arch/arm/mach-omap2/drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c
index 49a7ffb..1211790 100644
--- a/arch/arm/mach-omap2/drm.c
+++ b/arch/arm/mach-omap2/drm.c
@@ -57,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);

-- 
1.7.12.1

Reply via email to