summaryrefslogtreecommitdiff
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>2006-04-29 01:46:02 +0100
committerDavid Woodhouse <dwmw2@infradead.org>2006-04-29 01:46:02 +0100
commit778382e08cce51b6268ca49449e5bd70c8413799 (patch)
tree14a2ed2295c31890499306e007523d6aa74c313e /include/linux/pci.h
parentd6754b401a15eaa16492ea5dbaa4826361d3f411 (diff)
Don't include <linux/mod_devicetable.h> in public part of linux/pci.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 63609ae10736..fee8275df6d8 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -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>