diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-07-24 15:05:17 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2013-07-25 12:18:42 -0600 |
commit | 56039e658cc902fe6e3d1276bb78f7e69768cd35 (patch) | |
tree | a4097d5984d70462a46c34fdc1f2a988001ef0c3 /drivers/pci/probe.c | |
parent | 24336a61e699c33154001eb4d65d3a1bb01a1b3a (diff) | |
download | op-kernel-dev-56039e658cc902fe6e3d1276bb78f7e69768cd35.zip op-kernel-dev-56039e658cc902fe6e3d1276bb78f7e69768cd35.tar.gz |
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/probe.c')
-rw-r--r-- | drivers/pci/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/probe.c b/drivers/pci/probe.c index 46ada5c..cf57fe7 100644 --- a/drivers/pci/probe.c +++ b/drivers/pci/probe.c @@ -96,7 +96,7 @@ static void release_pcibus_dev(struct device *dev) static struct class pcibus_class = { .name = "pci_bus", .dev_release = &release_pcibus_dev, - .dev_attrs = pcibus_dev_attrs, + .dev_groups = pcibus_groups, }; static int __init pcibus_class_init(void) |