diff options
author | Jesse Barnes <jbarnes@hobbes.lan> | 2008-04-28 15:30:35 -0400 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.lan> | 2008-04-28 15:30:35 -0400 |
commit | ee69439cc1dcadbae42ece1caa1ec1786560f7aa (patch) | |
tree | 4121f06f414d93e71d7e6c886c0510d2968dc408 /include/linux | |
parent | 97a34eb77c758ff7821c2d29b3b5a84299c93aa1 (diff) |
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>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/pci.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h index 292491324b01..7a0770d4c4e2 100644 --- a/include/linux/pci.h +++ b/include/linux/pci.h | |||
@@ -20,8 +20,6 @@ | |||
20 | /* Include the pci register defines */ | 20 | /* Include the pci register defines */ |
21 | #include <linux/pci_regs.h> | 21 | #include <linux/pci_regs.h> |
22 | 22 | ||
23 | struct pci_vpd; | ||
24 | |||
25 | /* | 23 | /* |
26 | * The PCI interface treats multi-function devices as independent | 24 | * The PCI interface treats multi-function devices as independent |
27 | * devices. The slot/function address of each device is encoded | 25 | * devices. The slot/function address of each device is encoded |
@@ -131,6 +129,8 @@ struct pci_cap_saved_state { | |||
131 | }; | 129 | }; |
132 | 130 | ||
133 | struct pcie_link_state; | 131 | struct pcie_link_state; |
132 | struct pci_vpd; | ||
133 | |||
134 | /* | 134 | /* |
135 | * The pci_dev structure is used to describe PCI devices. | 135 | * The pci_dev structure is used to describe PCI devices. |
136 | */ | 136 | */ |