[ALSA] create driver symlink in snd-aoa /sys/bus/aoa-soundbus/devices/*/
Olaf Hering [Thu, 7 Dec 2006 07:25:01 +0000 (08:25 +0100)]
create sysfs driver symlink for snd-aoa in /sys/bus/aoa-soundbus/devices/*/
Acked-by: Johannes Berg <johannes@sipsolutions.net>

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

sound/aoa/fabrics/snd-aoa-fabric-layout.c

index 4b8e32d..4098096 100644 (file)
@@ -1107,6 +1107,9 @@ static struct soundbus_driver aoa_soundbus_driver = {
        .suspend = aoa_fabric_layout_suspend,
        .resume = aoa_fabric_layout_resume,
 #endif
+       .driver = {
+               .owner = THIS_MODULE,
+       }
 };
 
 static int __init aoa_fabric_layout_init(void)