PCI: don't export linux/io.h from pci.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 22 Oct 2008 02:39:55 +0000 (13:39 +1100)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 22 Oct 2008 23:42:46 +0000 (16:42 -0700)
Move the include of io.h down into the #ifdef __KERNEL__ protected
region.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
include/linux/pci.h

index 955ab705c05e7b12301c1e7f76bc279c26a49101..752def8a2ef4211c3486fa19e61b8f148f7d92cb 100644 (file)
@@ -18,7 +18,6 @@
 #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
@@ -52,6 +51,7 @@
 #include <linux/kobject.h>
 #include <asm/atomic.h>
 #include <linux/device.h>
+#include <linux/io.h>
 
 /* Include the ID list */
 #include <linux/pci_ids.h>