projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bffadff
)
PCI: annotate return value of pci_ioremap_bar with __iomem
author
Harvey Harrison
<harvey.harrison@gmail.com>
Sun, 2 Nov 2008 21:32:43 +0000
(13:32 -0800)
committer
Jesse 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/pci.h
b/include/linux/pci.h
index c75b82bda327723998eb6c3148ac8c0b1a061a7d..feb4657bb04338ee7140a4774237aaf914fcebac 100644
(file)
--- a/
include/linux/pci.h
+++ b/
include/linux/pci.h
@@
-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