]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
PCI: don't expose struct pci_vpd to userspace
authorJesse Barnes <jbarnes@hobbes.lan>
Mon, 28 Apr 2008 19:30:35 +0000 (12:30 -0700)
committerJesse Barnes <jbarnes@hobbes.lan>
Mon, 28 Apr 2008 19:30:35 +0000 (12:30 -0700)
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>
include/linux/pci.h

index 292491324b010f1184b48241bbc066f9377c8800..7a0770d4c4e21568df2c2383919a0bbcdade9357 100644 (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.
  */