From: Hauke Mehrtens Date: Wed, 23 Oct 2013 17:23:07 +0000 (+0200) Subject: backports: remove pci_platform_rom() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1729522ac1a5477b972dd8b5a63f423d72441ceb;p=openwrt%2Fstaging%2Fblogic.git backports: remove pci_platform_rom() This was only used by the DRM drivers Signed-off-by: Hauke Mehrtens --- 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)