|
@@ -150,6 +150,8 @@ static int soundbus_device_resume(struct device * dev)
|
|
|
|
|
|
#endif /* CONFIG_PM */
|
|
#endif /* CONFIG_PM */
|
|
|
|
|
|
|
|
+/* soundbus_dev_attrs is declared in sysfs.c */
|
|
|
|
+ATTRIBUTE_GROUPS(soundbus_dev);
|
|
static struct bus_type soundbus_bus_type = {
|
|
static struct bus_type soundbus_bus_type = {
|
|
.name = "aoa-soundbus",
|
|
.name = "aoa-soundbus",
|
|
.probe = soundbus_probe,
|
|
.probe = soundbus_probe,
|
|
@@ -160,7 +162,7 @@ static struct bus_type soundbus_bus_type = {
|
|
.suspend = soundbus_device_suspend,
|
|
.suspend = soundbus_device_suspend,
|
|
.resume = soundbus_device_resume,
|
|
.resume = soundbus_device_resume,
|
|
#endif
|
|
#endif
|
|
- .dev_attrs = soundbus_dev_attrs,
|
|
|
|
|
|
+ .dev_groups = soundbus_dev_groups,
|
|
};
|
|
};
|
|
|
|
|
|
int soundbus_add_one(struct soundbus_dev *dev)
|
|
int soundbus_add_one(struct soundbus_dev *dev)
|