Skip to contentSkip to conversation

drm/omap: fix typo

PATCH In review Rob Clark 2 participants 2 messages Nov 8, 2012

Subsystems (3)
lore
Share & tools
lore

Rob Clark

author
#0 lore raw

PATCH 1/1 drm/omap: fix typo

From: Rob Clark <[email protected]>

The patch 'drm/omap: add support for ARCH_MULTIPLATFORM' had a small mistake, using GET_OMAP_REVISION() instead of GET_OMAP_TYPE.

---
 arch/arm/mach-omap2/drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/drm.c +1 -1
index 49a7ffb..1211790 100644
@@ -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);
 
Signature · 1 line
1.7.12.1
#1 lore raw

Am Donnerstag, den 08.11.2012, 08:42 -0600 schrieb Rob Clark:

Quoted 4 lines

From: Rob Clark <[email protected]>

The patch 'drm/omap: add support for ARCH_MULTIPLATFORM' had a small mistake, using GET_OMAP_REVISION() instead of GET_OMAP_TYPE.

Please make the commit summary more specific. Maybe something like that.

drm/omap: fix typo to use GET_OMAP_TYPE instead of GET_OMAP_REVISION()

Quoted 10 lines
---
 arch/arm/mach-omap2/drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-omap2/drm.c +0 -0
index 49a7ffb..1211790 100644

arch/arm/mach-omap2/drm.c static int __init omap_init_drm(void) · line 62

Quoted 7 lines
arch/arm/mach-omap2/drm.c +1 -1
@@ -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);

Thanks,

Paul

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel