pci_resource_start is defined twice. Remove the duplicate. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- include/linux/pci.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/linux/pci.h b/include/linux/pci.h index 98d056624f..0e907209a7 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -201,10 +201,6 @@ struct pci_driver { #define to_pci_driver(drv) container_of(drv, struct pci_driver, driver) -/* these helpers provide future and backwards compatibility - * for accessing popular PCI BAR info */ -#define pci_resource_start(dev, bar) ((dev)->resource[(bar)].start) - /** * DEFINE_PCI_DEVICE_TABLE - macro used to describe a pci device table * @_table: device table name -- 2.39.2