[PATCH/RFC 4/7] ARM: OMAP2+: Remove omapdrm platform data
Laurent Pinchart
laurent.pinchart at ideasonboard.com
Tue Dec 13 23:38:23 UTC 2016
The omapdrm platform data isn't used anymore, remove it.
Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
---
arch/arm/mach-omap2/drm.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/arch/arm/mach-omap2/drm.c b/arch/arm/mach-omap2/drm.c
index 44fef961bb70..06fd40c92b96 100644
--- a/arch/arm/mach-omap2/drm.c
+++ b/arch/arm/mach-omap2/drm.c
@@ -23,19 +23,15 @@
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/dma-mapping.h>
-#include <linux/platform_data/omap_drm.h>
#include "soc.h"
#include "display.h"
#if IS_ENABLED(CONFIG_DRM_OMAP)
-static struct omap_drm_platform_data platform_data;
-
static struct platform_device omap_drm_device = {
.dev = {
.coherent_dma_mask = DMA_BIT_MASK(32),
- .platform_data = &platform_data,
},
.name = "omapdrm",
.id = 0,
@@ -43,10 +39,7 @@ static struct platform_device omap_drm_device = {
int __init omap_init_drm(void)
{
- platform_data.omaprev = GET_OMAP_TYPE;
-
return platform_device_register(&omap_drm_device);
-
}
#else
int __init omap_init_drm(void) { return 0; }
--
Regards,
Laurent Pinchart
More information about the dri-devel
mailing list