diff mbox

drm/omap: fix typo

Message ID 1352385729-30966-1-git-send-email-rob.clark@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Rob Clark Nov. 8, 2012, 2:42 p.m. UTC
From: Rob Clark <rob@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@ti.com>
---
 arch/arm/mach-omap2/drm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paul Menzel Nov. 8, 2012, 8:50 p.m. UTC | #1
Am Donnerstag, den 08.11.2012, 08:42 -0600 schrieb Rob Clark:
> From: Rob Clark <rob@ti.com>
> 
> 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()

> Signed-off-by: Rob Clark <rob@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);


Thanks,

Paul
diff mbox

Patch

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);