[alsa-devel] [PATCH] ASoC: tegra: add MODULE_DEVICE_TABLE to tegra30_ahub

From: Stephen Warren swarren@nvidia.com
This allows the module to automatically load when instantiated from device tree.
Signed-off-by: Stephen Warren swarren@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@nvidia.com"); MODULE_DESCRIPTION("Tegra30 AHUB driver"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:" DRV_NAME); +MODULE_DEVICE_TABLE(of, tegra30_ahub_of_match);

On Thu, Jun 07, 2012 at 05:58:31PM -0600, Stephen Warren wrote:
From: Stephen Warren swarren@nvidia.com
This allows the module to automatically load when instantiated from device tree.
Applied, thanks.
participants (2)
-
Mark Brown
-
Stephen Warren