diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-06 23:55:40 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-07 14:58:42 -0600 |
commit | 5136b2da770d53f026ab091f0423729ebf37a6b5 (patch) | |
tree | 9f5600f01406afb9c623f8cac369ada925e32b47 /drivers/pci/pci-driver.c | |
parent | 2229c1fbc5bd3bd7eb376285de159d086e79d58a (diff) | |
download | op-kernel-dev-5136b2da770d53f026ab091f0423729ebf37a6b5.zip op-kernel-dev-5136b2da770d53f026ab091f0423729ebf37a6b5.tar.gz |
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-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 38f3c01..9f85960 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -1319,7 +1319,7 @@ struct bus_type pci_bus_type = { .probe = pci_device_probe, .remove = pci_device_remove, .shutdown = pci_device_shutdown, - .dev_attrs = pci_dev_attrs, + .dev_groups = pci_dev_groups, .bus_groups = pci_bus_groups, .drv_groups = pci_drv_groups, .pm = PCI_PM_OPS_PTR, |