[alsa-devel] [PATCH] ASoC: tegra: add MODULE_DEVICE_TABLE to tegra30_ahub
Stephen Warren
swarren at wwwdotorg.org
Fri Jun 8 01:58:31 CEST 2012
From: Stephen Warren <swarren at nvidia.com>
This allows the module to automatically load when instantiated from
device tree.
Signed-off-by: Stephen Warren <swarren at nvidia.com>
---
This is useful in 3.5.
sound/soc/tegra/tegra30_ahub.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/sound/soc/tegra/tegra30_ahub.c b/sound/soc/tegra/tegra30_ahub.c
index 57cd419..f43edb3 100644
--- a/sound/soc/tegra/tegra30_ahub.c
+++ b/sound/soc/tegra/tegra30_ahub.c
@@ -629,3 +629,4 @@ MODULE_AUTHOR("Stephen Warren <swarren at nvidia.com>");
MODULE_DESCRIPTION("Tegra30 AHUB driver");
MODULE_LICENSE("GPL v2");
MODULE_ALIAS("platform:" DRV_NAME);
+MODULE_DEVICE_TABLE(of, tegra30_ahub_of_match);
--
1.7.0.4
More information about the Alsa-devel
mailing list