From 8bdcff47381eaea535f46e021221c4064522fe89 Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Mon, 15 Apr 2013 12:38:59 +0200 Subject: [PATCH] backports: fix pci_platform_rom backport pci_platform_rom() actually made it into 3.9, so only provide it for kernels before that. Signed-off-by: Johannes Berg --- backport/backport-include/linux/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backport/backport-include/linux/pci.h b/backport/backport-include/linux/pci.h index 99091d5dc2cf..b223879dbe5a 100644 --- a/backport/backport-include/linux/pci.h +++ b/backport/backport-include/linux/pci.h @@ -134,7 +134,7 @@ static inline int pcie_capability_clear_dword(struct pci_dev *dev, int pos, } #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,10,0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,9,0) /* * DRM requires this, but we can't really backport it well */ -- 2.30.2