2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 02:04:05 +08:00

PCI: don't expose struct pci_vpd to userspace

We just need to forward declare it for struct pci_dev, not expose it outside of
__KERNEL__.

Signed-off-by:  Jesse Barnes <jbarnes@virtuousgeek.org>
This commit is contained in:
Jesse Barnes 2008-04-28 12:30:35 -07:00
parent 97a34eb77c
commit ee69439cc1

View File

@ -20,8 +20,6 @@
/* Include the pci register defines */
#include <linux/pci_regs.h>
struct pci_vpd;
/*
* The PCI interface treats multi-function devices as independent
* devices. The slot/function address of each device is encoded
@ -131,6 +129,8 @@ struct pci_cap_saved_state {
};
struct pcie_link_state;
struct pci_vpd;
/*
* The pci_dev structure is used to describe PCI devices.
*/