diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 02:55:40 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-07 16:58:42 -0400 |
commit | 5136b2da770d53f026ab091f0423729ebf37a6b5 (patch) | |
tree | 9f5600f01406afb9c623f8cac369ada925e32b47 /drivers/pci/pci.h | |
parent | 2229c1fbc5bd3bd7eb376285de159d086e79d58a (diff) |
PCI: convert bus code to use dev_groups
The dev_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.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/pci.h')
-rw-r--r-- | drivers/pci/pci.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h index 607be58dd728..9c91ecc1301b 100644 --- a/drivers/pci/pci.h +++ b/drivers/pci/pci.h | |||
@@ -153,7 +153,7 @@ static inline int pci_no_d1d2(struct pci_dev *dev) | |||
153 | return (dev->no_d1d2 || parent_dstates); | 153 | return (dev->no_d1d2 || parent_dstates); |
154 | 154 | ||
155 | } | 155 | } |
156 | extern struct device_attribute pci_dev_attrs[]; | 156 | extern const struct attribute_group *pci_dev_groups[]; |
157 | extern const struct attribute_group *pcibus_groups[]; | 157 | extern const struct attribute_group *pcibus_groups[]; |
158 | extern struct device_type pci_dev_type; | 158 | extern struct device_type pci_dev_type; |
159 | extern const struct attribute_group *pci_bus_groups[]; | 159 | extern const struct attribute_group *pci_bus_groups[]; |