diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-07 06:55:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-17 01:36:02 (GMT) |
commit | 2df4390130a85c2dd85ba3eb96f0c25ae7c5bca3 (patch) | |
tree | 6522ac5a278ee164376883740439ce46c933302a /drivers/pnp/base.h | |
parent | 69df75334bf6d68a0a74397c2cc32172f0d7d620 (diff) | |
download | linux-2df4390130a85c2dd85ba3eb96f0c25ae7c5bca3.tar.xz |
PNP: 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 PNP bus code to use the
correct field.
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pnp/base.h')
-rw-r--r-- | drivers/pnp/base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pnp/base.h b/drivers/pnp/base.h index ffd53e3..c8873b0 100644 --- a/drivers/pnp/base.h +++ b/drivers/pnp/base.h @@ -4,7 +4,7 @@ */ extern spinlock_t pnp_lock; -extern struct device_attribute pnp_interface_attrs[]; +extern const struct attribute_group *pnp_dev_groups[]; void *pnp_alloc(long size); int pnp_register_protocol(struct pnp_protocol *protocol); |