summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-10-23 19:23:07 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2013-10-23 19:24:41 +0200
commit1729522ac1a5477b972dd8b5a63f423d72441ceb (patch)
tree1b882f41cf43aef74278c31d9c23e997ffb86ece
parent0bd9f7323e918eb4c497a2905df2bda8ae909bfb (diff)
backports: remove pci_platform_rom()
This was only used by the DRM drivers Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--backport/backport-include/linux/pci.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/backport/backport-include/linux/pci.h b/backport/backport-include/linux/pci.h
index 61f0f08d..e309586d 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)