aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-10-07 16:51:02 -0400
committerBjorn Helgaas <bhelgaas@google.com>2013-10-07 16:51:02 -0400
commit0f49ba5599048aae2fb3479a1814736e969cf38c (patch)
tree0214bd107097ff13cf176834169154378498ee08 /drivers/pci/pci.h
parent4a10c2ac2f368583138b774ca41fac4207911983 (diff)
PCI: convert bus code to use bus_groups
The bus_attrs field of struct bus_type is going away soon, dev_groups should be used instead. This converts the PCI bus code to use the correct field. Cc: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r--drivers/pci/pci.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index 8a00c063d7bc..607be58dd728 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -156,7 +156,7 @@ static inline int pci_no_d1d2(struct pci_dev *dev)
156extern struct device_attribute pci_dev_attrs[]; 156extern struct device_attribute pci_dev_attrs[];
157extern const struct attribute_group *pcibus_groups[]; 157extern const struct attribute_group *pcibus_groups[];
158extern struct device_type pci_dev_type; 158extern struct device_type pci_dev_type;
159extern struct bus_attribute pci_bus_attrs[]; 159extern const struct attribute_group *pci_bus_groups[];
160 160
161 161
162/** 162/**