[POC 10/16] drm/img-rogue: remove .set_busid methods from drm_driver

Ulrich Hecht ulrich.hecht+renesas at gmail.com
Wed Nov 15 15:24:17 UTC 2017


No longer required.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas at gmail.com>
---
 drivers/gpu/drm/img-rogue/1.6/pvr_drm.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c b/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c
index f72d382..7439a6f 100644
--- a/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c
+++ b/drivers/gpu/drm/img-rogue/1.6/pvr_drm.c
@@ -332,16 +332,6 @@ struct drm_driver sPVRDRMDriver =
 	},
 #endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,3,0)) */
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0))
-#if defined(LDM_PCI)
-	.set_busid      	= drm_pci_set_busid,
-#elif defined(LDM_PLATFORM)
-	.set_busid      	= drm_platform_set_busid,
-#else
-#error "LDM_PLATFORM or LDM_PCI must be defined"
-#endif
-#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)) */
-
 	.name			= PVR_DRM_NAME,
 	.desc			= PVR_DRM_DESC,
 	.date			= PVR_DRM_DATE,
-- 
2.7.4



More information about the dri-devel mailing list