[ALSA] create driver symlink in snd-aoa /sys/bus/aoa-soundbus/devices/*/
authorOlaf Hering <olaf@aepfle.de>
Thu, 7 Dec 2006 07:25:01 +0000 (08:25 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:02:21 +0000 (09:02 +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 4b8e32d1ebf91df8e57283f9f90264eb4af69117..409809600ddce1978da363f61ddd7e4ecb8c8266 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)