Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7b930cd authored by Harvey Harrison's avatar Harvey Harrison Committed by Jesse Barnes
Browse files

PCI: annotate return value of pci_ioremap_bar with __iomem



Was missing from the initial patch.

Acked-by: default avatarArjan van de Ven <arjan@linux.intel.com>
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarJesse Barnes <jbarnes@virtuousgeek.org>
parent bffadffd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1136,7 +1136,7 @@ static inline void pci_mmcfg_late_init(void) { }
#endif

#ifdef CONFIG_HAS_IOMEM
static inline void * pci_ioremap_bar(struct pci_dev *pdev, int bar)
static inline void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar)
{
	/*
	 * Make sure the BAR is actually a memory resource, not an IO resource