diff mbox

ARM: OMAP2+: fix build break for omapdrm

Message ID 1358696243-3604-1-git-send-email-robdclark@gmail.com
State Accepted
Commit 81f3ae0671dcd70b5d076d899d299c9cf33f3345
Headers show

Commit Message

Rob Clark Jan. 20, 2013, 3:37 p.m. UTC
Fixes compile break with 3.8-rc4.

Signed-off-by: Rob Clark <robdclark@gmail.com>
---
 arch/arm/mach-omap2/drm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Tony Lindgren Jan. 21, 2013, 6:20 p.m. UTC | #1
* Rob Clark <robdclark@gmail.com> [130120 07:40]:
> Fixes compile break with 3.8-rc4.
> 
> Signed-off-by: Rob Clark <robdclark@gmail.com>

Thanks applying into omap-for-v3.8-rc4/fixes.

Regards,

Tony

> ---
>  arch/arm/mach-omap2/drm.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c
> index 4c7566c..2a2cfa8 100644
> --- a/arch/arm/mach-omap2/drm.c
> +++ b/arch/arm/mach-omap2/drm.c
> @@ -25,6 +25,7 @@
>  #include <linux/dma-mapping.h>
>  #include <linux/platform_data/omap_drm.h>
>  
> +#include "soc.h"
>  #include "omap_device.h"
>  #include "omap_hwmod.h"
>  
> @@ -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);
>  
> -- 
> 1.8.1
>
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c
index 4c7566c..2a2cfa8 100644
--- a/arch/arm/mach-omap2/drm.c
+++ b/arch/arm/mach-omap2/drm.c
@@ -25,6 +25,7 @@ 
 #include <linux/dma-mapping.h>
 #include <linux/platform_data/omap_drm.h>
 
+#include "soc.h"
 #include "omap_device.h"
 #include "omap_hwmod.h"
 
@@ -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);