From: Johannes Berg Date: Mon, 15 Apr 2013 10:38:59 +0000 (+0200) Subject: backports: fix pci_platform_rom backport X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8bdcff47381eaea535f46e021221c4064522fe89;p=openwrt%2Fstaging%2Fblogic.git 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 --- 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 */