diff options
author | Harvey Harrison <harvey.harrison@gmail.com> | 2008-11-02 16:32:43 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-11-03 17:31:18 -0500 |
commit | a7b930cdf8ec790c85f81416c87f7c066679d373 (patch) | |
tree | c96fe44a2160311461b886f2e3ee941f5ba0a682 | |
parent | bffadffd43d438c3143b8d172a463de89345b836 (diff) |
PCI: annotate return value of pci_ioremap_bar with __iomem
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>
-rw-r--r-- | include/linux/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index c75b82bda327..feb4657bb043 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -1136,7 +1136,7 @@ static inline void pci_mmcfg_late_init(void) { } | |||
1136 | #endif | 1136 | #endif |
1137 | 1137 | ||
1138 | #ifdef CONFIG_HAS_IOMEM | 1138 | #ifdef CONFIG_HAS_IOMEM |
1139 | static inline void * pci_ioremap_bar(struct pci_dev *pdev, int bar) | 1139 | static inline void __iomem *pci_ioremap_bar(struct pci_dev *pdev, int bar) |
1140 | { | 1140 | { |
1141 | /* | 1141 | /* |
1142 | * Make sure the BAR is actually a memory resource, not an IO resource | 1142 | * Make sure the BAR is actually a memory resource, not an IO resource |