diff mbox

ASoC: tegra: add MODULE_DEVICE_TABLE to tegra30_ahub

Message ID 1339113511-27132-1-git-send-email-swarren@wwwdotorg.org
State Not Applicable, archived
Headers show

Commit Message

Stephen Warren June 7, 2012, 11:58 p.m. UTC
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(-)

Comments

Mark Brown June 8, 2012, 12:49 a.m. UTC | #1
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.
diff mbox

Patch

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);