提交 ee69439c 编写于 作者: J Jesse Barnes

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: NJesse Barnes <jbarnes@virtuousgeek.org>
上级 97a34eb7
...@@ -20,8 +20,6 @@ ...@@ -20,8 +20,6 @@
/* Include the pci register defines */ /* Include the pci register defines */
#include <linux/pci_regs.h> #include <linux/pci_regs.h>
struct pci_vpd;
/* /*
* The PCI interface treats multi-function devices as independent * The PCI interface treats multi-function devices as independent
* devices. The slot/function address of each device is encoded * devices. The slot/function address of each device is encoded
...@@ -131,6 +129,8 @@ struct pci_cap_saved_state { ...@@ -131,6 +129,8 @@ struct pci_cap_saved_state {
}; };
struct pcie_link_state; struct pcie_link_state;
struct pci_vpd;
/* /*
* The pci_dev structure is used to describe PCI devices. * The pci_dev structure is used to describe PCI devices.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册