diff options
author | Sanjay Singh Rawat <srawat@nvidia.com> | 2012-04-16 14:43:57 +0530 |
---|---|---|
committer | Rohan Somvanshi <rsomvanshi@nvidia.com> | 2012-04-19 04:49:15 -0700 |
commit | 8059ef65ae2efe2535301b9b26636c9fe6b4954e (patch) | |
tree | ea18cdb6863b12ef94aa737196c1408b5f2ca9fc /sound/soc/tegra/tegra_aic326x.c | |
parent | ae081534395f749f880ce4f3ad72e65aa9a1cf72 (diff) |
ASoC: resolve compilation time warnings
bug 949219
Change-Id: I52969e8dd1a5ed4dc76ac360ec08b0afb18cd4a5
Signed-off-by: Sanjay Singh Rawat <srawat@nvidia.com>
Reviewed-on: http://git-master/r/92833
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'sound/soc/tegra/tegra_aic326x.c')
-rw-r--r-- | sound/soc/tegra/tegra_aic326x.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_aic326x.c b/sound/soc/tegra/tegra_aic326x.c index 93013c5e99b6..cffcd44570c6 100644 --- a/sound/soc/tegra/tegra_aic326x.c +++ b/sound/soc/tegra/tegra_aic326x.c @@ -1142,8 +1142,10 @@ static __devinit int tegra_aic326x_driver_probe(struct platform_device *pdev) struct snd_soc_card *card = &snd_soc_tegra_aic326x; struct tegra_aic326x *machine; struct tegra_asoc_platform_data *pdata; - int ret, i; - + int ret; +#ifndef CONFIG_ARCH_TEGRA_2x_SOC + int i; +#endif pdata = pdev->dev.platform_data; if (!pdata) { dev_err(&pdev->dev, "No platform data supplied\n"); |