Skip to content

Commit

Permalink
PCI: don't expose struct pci_vpd to userspace
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jesse Barnes committed Apr 28, 2008
1 parent 97a34eb commit ee69439
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/linux/pci.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
*/
Expand Down

0 comments on commit ee69439

Please sign in to comment.