PCI: annotate return value of pci_ioremap_bar with __iomem
authorHarvey Harrison <harvey.harrison@gmail.com>
Sun, 2 Nov 2008 21:32:43 +0000 (13:32 -0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 3 Nov 2008 22:31:18 +0000 (14:31 -0800)
Was missing from the initial patch.

Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h

index c75b82b..feb4657 100644 (file)
@@ -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