summaryrefslogtreecommitdiffstats
path: root/sound/sparc
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 13:03:04 +0200
committerTakashi Iwai <tiwai@suse.de>2015-09-04 12:11:44 +0200
commit86bfbc15660a61bb7b3df73db11939eec3393008 (patch)
tree45ca71b4c5b070f20113b14cf86cbed1b8c13e31 /sound/sparc
parent1adecc6755e1e4193b5618ddb2e107f6d6e88f4b (diff)
downloadop-kernel-dev-86bfbc15660a61bb7b3df73db11939eec3393008.zip
op-kernel-dev-86bfbc15660a61bb7b3df73db11939eec3393008.tar.gz
ALSA: sparc: amd7930: Fix module autoload for OF platform driver
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>
Diffstat (limited to 'sound/sparc')
-rw-r--r--sound/sparc/amd7930.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/sparc/amd7930.c b/sound/sparc/amd7930.c
index 784ceb8..35c1f6a 100644
--- a/sound/sparc/amd7930.c
+++ b/sound/sparc/amd7930.c
@@ -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 = {
OpenPOWER on IntegriCloud