diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-21 13:09:05 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-22 19:42:36 -0400 |
commit | 64c7f63c1b5c26f057c26f7920f397fed2f590d9 (patch) | |
tree | f0aa6ef81b10e2027a9baac99537efc279539b2e | |
parent | 8dd7f8036c123296fc4214f9d8810eb485570422 (diff) |
PCI: include io.h in pci.h so that ioremap_nocache is defined
Ingo pointed out that the m32r build was broken by pci_ioremap. It looks like
some files include pci.h w/o including io.h. The latter defines ioremap_* if
present, so it makes sense to include it in pci.h now that we have pci_ioremap
there.
Reported-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
-rw-r--r-- | include/linux/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index f6f6810296e6..ee2fd6304e05 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -18,6 +18,7 @@ | |||
18 | #define LINUX_PCI_H | 18 | #define LINUX_PCI_H |
19 | 19 | ||
20 | #include <linux/pci_regs.h> /* The pci register defines */ | 20 | #include <linux/pci_regs.h> /* The pci register defines */ |
21 | #include <linux/io.h> | ||
21 | 22 | ||
22 | /* | 23 | /* |
23 | * The PCI interface treats multi-function devices as independent | 24 | * The PCI interface treats multi-function devices as independent |