[alsa-devel] [PATCH 2/4] ASoC: tegra20_ac97: Remove __devinitconst attribute

Sachin Kamat sachin.kamat at linaro.org
Thu Jan 24 10:21:16 CET 2013


__devinitconst has been removed from the kernel and gives
the following build errors:
sound/soc/tegra/tegra20_ac97.c:460:58: error: Expected ; at end of declaration
sound/soc/tegra/tegra20_ac97.c:460:58: error: got __devinitconst

Cc: Lucas Stach <dev at lynxeye.de>
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Reviewed-by: Stephen Warren <swarren at nvidia.com>
---
 sound/soc/tegra/tegra20_ac97.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/tegra/tegra20_ac97.c b/sound/soc/tegra/tegra20_ac97.c
index 1bae73b..336dcdd 100644
--- a/sound/soc/tegra/tegra20_ac97.c
+++ b/sound/soc/tegra/tegra20_ac97.c
@@ -457,7 +457,7 @@ static int tegra20_ac97_platform_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static const struct of_device_id tegra20_ac97_of_match[] __devinitconst = {
+static const struct of_device_id tegra20_ac97_of_match[] = {
 	{ .compatible = "nvidia,tegra20-ac97", },
 	{},
 };
-- 
1.7.4.1



More information about the Alsa-devel mailing list