ALSA: sparc: amd7930: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 3 Sep 2015 11:03:04 +0000 (13:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 4 Sep 2015 10:11:44 +0000 (12:11 +0200)
This platform driver has a OF device ID table but the OF module
alias information is not created so module autoloading won't work.

Signed-off-by: Luis de Bethencourt <luis@debethencourt.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/sparc/amd7930.c

index 784ceb85b2d9fe7cbe989d0c8443863f1d03df34..35c1f6ae773f051e159c896d4565901f69258f68 100644 (file)
@@ -1064,6 +1064,7 @@ static const struct of_device_id amd7930_match[] = {
        },
        {},
 };
+MODULE_DEVICE_TABLE(of, amd7930_match);
 
 static struct platform_driver amd7930_sbus_driver = {
        .driver = {