Skip to contentSkip to conversation

ARM: OMAP2+: fix build break for omapdrm

PATCH In review Rob Clark 2 participants 2 messages Jan 20, 2013 – Jan 21, 2013

Subsystems (3)
lore
Share & tools
lore

Rob Clark

author
#0 lore raw

PATCH 1/1 ARM: OMAP2+: fix build break for omapdrm

Fixes compile break with 3.8-rc4.

---
 arch/arm/mach-omap2/drm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-omap2/drm.c +2 -1
index 4c7566c..2a2cfa8 100644
@@ -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);
 
Signature · 1 line
1.8.1
maintainer
#1 lore raw
Quoted 3 lines · Rob Clark

Fixes compile break with 3.8-rc4.

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

Regards,

Tony

Quoted 28 lines
---
 arch/arm/mach-omap2/drm.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
arch/arm/mach-omap2/drm.c +2 -1
index 4c7566c..2a2cfa8 100644
@@ -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);
 
Signature · 1 line
1.8.1