X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=sound%2Faoa%2Fsoundbus%2Fcore.c;fp=sound%2Faoa%2Fsoundbus%2Fcore.c;h=3edf736319fe4548453376760bc6e3f807502bc4;hb=4570a37169d4b44d316f40b2ccc681dc93fedc7b;hp=7487eb76e034e2c6de6620fbd919562e71071a3c;hpb=f7b08217c755e88a29b5bd53b4a1d10cd8b3c5f8;p=uclinux-h8%2Flinux.git diff --git a/sound/aoa/soundbus/core.c b/sound/aoa/soundbus/core.c index 7487eb76e034..3edf736319fe 100644 --- a/sound/aoa/soundbus/core.c +++ b/sound/aoa/soundbus/core.c @@ -150,6 +150,8 @@ static int soundbus_device_resume(struct device * dev) #endif /* CONFIG_PM */ +/* soundbus_dev_attrs is declared in sysfs.c */ +ATTRIBUTE_GROUPS(soundbus_dev); static struct bus_type soundbus_bus_type = { .name = "aoa-soundbus", .probe = soundbus_probe, @@ -160,7 +162,7 @@ static struct bus_type soundbus_bus_type = { .suspend = soundbus_device_suspend, .resume = soundbus_device_resume, #endif - .dev_attrs = soundbus_dev_attrs, + .dev_groups = soundbus_dev_groups, }; int soundbus_add_one(struct soundbus_dev *dev)