Don't include <linux/mod_devicetable.h> in public part of linux/pci.h
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Sat, 29 Apr 2006 00:46:02 +0000 (01:46 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 29 Apr 2006 00:46:02 +0000 (01:46 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
include/linux/pci.h

index 63609ae10736811774db234d30a2683ccb772422..fee8275df6d80f3243271fc3c0c2a1f7e8b304b3 100644 (file)
@@ -17,8 +17,6 @@
 #ifndef LINUX_PCI_H
 #define LINUX_PCI_H
 
-#include <linux/mod_devicetable.h>
-
 /* Include the pci register defines */
 #include <linux/pci_regs.h>
 
@@ -46,6 +44,8 @@
 
 #ifdef __KERNEL__
 
+#include <linux/mod_devicetable.h>
+
 #include <linux/types.h>
 #include <linux/ioport.h>
 #include <linux/list.h>