summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2023-12-19 13:56:25 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2024-01-02 12:34:48 +0100
commitcaee091821ea02d5653c95c07fc5b90e918153b9 (patch)
treefb8fd01de37dd9522ba8a8d95447608a13176af3 /include/linux
parent934cb2146e5b34eb45c81e3f9bc9b63c95701e43 (diff)
downloadbarebox-caee091821ea02d5653c95c07fc5b90e918153b9.tar.gz
barebox-caee091821ea02d5653c95c07fc5b90e918153b9.tar.xz
pci: remove duplicate definition of pci_resource_start
pci_resource_start is defined twice. Remove the duplicate. Link: https://lore.barebox.org/20231219125630.3684-2-s.hauer@pengutronix.de Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci.h4
1 files changed, 0 insertions, 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