diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 16:51:02 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-10-07 16:51:02 -0400 |
commit | 0f49ba5599048aae2fb3479a1814736e969cf38c (patch) | |
tree | 0214bd107097ff13cf176834169154378498ee08 /drivers/pci/pci-driver.c | |
parent | 4a10c2ac2f368583138b774ca41fac4207911983 (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-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 98f7b9b89507..e00f74143115 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -1317,7 +1317,7 @@ struct bus_type pci_bus_type = { | |||
1317 | .remove = pci_device_remove, | 1317 | .remove = pci_device_remove, |
1318 | .shutdown = pci_device_shutdown, | 1318 | .shutdown = pci_device_shutdown, |
1319 | .dev_attrs = pci_dev_attrs, | 1319 | .dev_attrs = pci_dev_attrs, |
1320 | .bus_attrs = pci_bus_attrs, | 1320 | .bus_groups = pci_bus_groups, |
1321 | .drv_attrs = pci_drv_attrs, | 1321 | .drv_attrs = pci_drv_attrs, |
1322 | .pm = PCI_PM_OPS_PTR, | 1322 | .pm = PCI_PM_OPS_PTR, |
1323 | }; | 1323 | }; |