diff options
author | Sandeep Shinde <sashinde@nvidia.com> | 2010-06-15 12:24:28 +0545 |
---|---|---|
committer | Janne Hellsten <jhellsten@nvidia.com> | 2010-06-15 02:22:21 -0700 |
commit | 0f0019e053309159030e64c483e26001f8f335fb (patch) | |
tree | 4f39259034bff086ce096aa992474fe7a376f495 | |
parent | 38f3b8f6a3131995872c7d8bfea0563ab18d83b3 (diff) |
tegra ALSA: Fixing build break
Build break was caused by commit id: 69074e
In Kernel config, ALSA is disabled so this break was not caught in local build.
Change-Id: I6f9b6d152fdc0a967cf31a5bfe63c8cea4d9f39f
Reviewed-on: http://git-master/r/2643
Reviewed-by: Vijay Mali <vmali@nvidia.com>
Tested-by: Vijay Mali <vmali@nvidia.com>
Reviewed-by: Janne Hellsten <jhellsten@nvidia.com>
-rw-r--r-- | sound/soc/tegra/tegra_codec_rpc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sound/soc/tegra/tegra_codec_rpc.c b/sound/soc/tegra/tegra_codec_rpc.c index ea97d0f91337..943436bdefaf 100644 --- a/sound/soc/tegra/tegra_codec_rpc.c +++ b/sound/soc/tegra/tegra_codec_rpc.c @@ -73,7 +73,7 @@ static struct snd_soc_dai_ops dit_stub_ops = { .set_sysclk = tegra_generic_codec_set_dai_sysclk, }; -struct snd_soc_dai dit_stub_dai = { +struct snd_soc_dai tegra_generic_codec_dai = { .name = "tegra-codec-rpc", .playback = { .stream_name = "Playback", @@ -91,16 +91,16 @@ struct snd_soc_dai dit_stub_dai = { }, .ops = &dit_stub_ops, }; -EXPORT_SYMBOL_GPL(dit_stub_dai); +EXPORT_SYMBOL_GPL(tegra_generic_codec_dai); static int __init dit_modinit(void) { - return snd_soc_register_dai(&dit_stub_dai); + return snd_soc_register_dai(&tegra_generic_codec_dai); } static void __exit dit_exit(void) { - snd_soc_unregister_dai(&dit_stub_dai); + snd_soc_unregister_dai(&tegra_generic_codec_dai); } module_init(dit_modinit); @@ -121,7 +121,7 @@ static int codec_soc_probe(struct platform_device *pdev) codec->name = "tegra-generic-codec"; codec->owner = THIS_MODULE; - codec->dai = &dit_stub_dai; + codec->dai = &tegra_generic_codec_dai; codec->num_dai = 1; codec->write = NULL; codec->read = NULL; |