]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
PCI: include io.h in pci.h so that ioremap_nocache is defined
authorJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 21 Oct 2008 17:09:05 +0000 (10:09 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:36 +0000 (16:42 -0700)
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>
include/linux/pci.h

index f6f6810296e6100412e0af29589833a9b7a3b888..ee2fd6304e0560661dc27812110c228b9d4b816c 100644 (file)
@@ -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