From 1729522ac1a5477b972dd8b5a63f423d72441ceb Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 23 Oct 2013 19:23:07 +0200 Subject: [PATCH] backports: remove pci_platform_rom() This was only used by the DRM drivers Signed-off-by: Hauke Mehrtens --- backport/backport-include/linux/pci.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/backport/backport-include/linux/pci.h b/backport/backport-include/linux/pci.h index 61f0f08d2900..e309586d2345 100644 --- a/backport/backport-include/linux/pci.h +++ b/backport/backport-include/linux/pci.h @@ -125,17 +125,6 @@ static inline int pcie_capability_clear_dword(struct pci_dev *dev, int pos, } #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) -/* - * DRM requires this, but we can't really backport it well - */ -static inline void __iomem *pci_platform_rom(struct pci_dev *pdev, size_t *size) -{ - printk(KERN_WARNING "compat: not providing pci_platform_rom!\n"); - return NULL; -} -#endif - #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,33) /* mask pci_pcie_cap as debian squeeze also backports this */ #define pci_pcie_cap LINUX_BACKPORT(pci_pcie_cap) -- 2.30.2