@@ -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; }
The omapdrm platform data isn't used anymore, remove it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> --- arch/arm/mach-omap2/drm.c | 7 ------- 1 file changed, 7 deletions(-)