summaryrefslogtreecommitdiff
path: root/drivers/pci/pci.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-07-24 15:05:17 -0700
committerBjorn Helgaas <bhelgaas@google.com>2013-07-25 12:18:42 -0600
commit56039e658cc902fe6e3d1276bb78f7e69768cd35 (patch)
treea4097d5984d70462a46c34fdc1f2a988001ef0c3 /drivers/pci/pci.h
parent24336a61e699c33154001eb4d65d3a1bb01a1b3a (diff)
downloadlwn-56039e658cc902fe6e3d1276bb78f7e69768cd35.tar.gz
lwn-56039e658cc902fe6e3d1276bb78f7e69768cd35.zip
PCI: Convert class code to use dev_groups
The dev_attrs field of struct class is going away soon, dev_groups should be used instead. This converts the PCI class 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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h
index d1182c4a754e..816c297f170c 100644
--- a/drivers/pci/pci.h
+++ b/drivers/pci/pci.h
@@ -151,7 +151,7 @@ static inline int pci_no_d1d2(struct pci_dev *dev)
}
extern struct device_attribute pci_dev_attrs[];
-extern struct device_attribute pcibus_dev_attrs[];
+extern const struct attribute_group *pcibus_groups[];
extern struct device_type pci_dev_type;
extern struct bus_attribute pci_bus_attrs[];