diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-21 10:09:05 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-10-22 16:42:36 -0700 |
commit | 64c7f63c1b5c26f057c26f7920f397fed2f590d9 (patch) | |
tree | f0aa6ef81b10e2027a9baac99537efc279539b2e /include/linux | |
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>
Diffstat (limited to 'include/linux')
-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 f6f6810296e..ee2fd6304e0 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h @@ -18,6 +18,7 @@ #define LINUX_PCI_H #include <linux/pci_regs.h> /* The pci register defines */ +#include <linux/io.h> /* * The PCI interface treats multi-function devices as independent |