mirror of https://gitee.com/openkylin/linux.git
PCI: don't export linux/io.h from pci.h
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>
This commit is contained in:
parent
61cfc7e442
commit
1388cc964e
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue