Commit 778382e08cce51b6268ca49449e5bd70c8413799
Committed by
David Woodhouse
1 parent
d6754b401a
Exists in
master
and in
7 other branches
Don't include <linux/mod_devicetable.h> in public part of linux/pci.h
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
include/linux/pci.h
... | ... | @@ -17,8 +17,6 @@ |
17 | 17 | #ifndef LINUX_PCI_H |
18 | 18 | #define LINUX_PCI_H |
19 | 19 | |
20 | -#include <linux/mod_devicetable.h> | |
21 | - | |
22 | 20 | /* Include the pci register defines */ |
23 | 21 | #include <linux/pci_regs.h> |
24 | 22 | |
... | ... | @@ -45,6 +43,8 @@ |
45 | 43 | #define PCIIOC_WRITE_COMBINE (PCIIOC_BASE | 0x03) /* Enable/disable write-combining. */ |
46 | 44 | |
47 | 45 | #ifdef __KERNEL__ |
46 | + | |
47 | +#include <linux/mod_devicetable.h> | |
48 | 48 | |
49 | 49 | #include <linux/types.h> |
50 | 50 | #include <linux/ioport.h> |