diff options
author | Quentin Lambert <lambert.quentin@gmail.com> | 2015-06-12 11:38:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-06-12 21:46:17 +0300 |
commit | a038b97951d399685e18a6dc53dee62b42134a0a (patch) | |
tree | 0e9b9357e94b5dd9efd2fc389cca57bd88a85291 /sound/aoa/soundbus/soundbus.h | |
parent | cc1b76ed32607ba378986931e73b64231085816f (diff) | |
download | linux-a038b97951d399685e18a6dc53dee62b42134a0a.tar.xz |
ALSA: aoa: convert bus code to use dev_groups
The dev_attrs field of struct bus_type is going away, use dev_groups instead.
This converts the soundbus code to use the correct field.
These modifications were made using Coccinelle.
Signed-off-by: Quentin Lambert <lambert.quentin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/aoa/soundbus/soundbus.h')
-rw-r--r-- | sound/aoa/soundbus/soundbus.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/aoa/soundbus/soundbus.h b/sound/aoa/soundbus/soundbus.h index adecbf36f4f6..21e756cf2824 100644 --- a/sound/aoa/soundbus/soundbus.h +++ b/sound/aoa/soundbus/soundbus.h @@ -199,6 +199,6 @@ struct soundbus_driver { extern int soundbus_register_driver(struct soundbus_driver *drv); extern void soundbus_unregister_driver(struct soundbus_driver *drv); -extern struct device_attribute soundbus_dev_attrs[]; +extern struct attribute *soundbus_dev_attrs[]; #endif /* __SOUNDBUS_H */ |