aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-24 04:21:15 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-01-24 05:55:15 -0500
commitb10fedf89269a444ddfc92371acc9721749e8b41 (patch)
tree6e7db523d1f6427d91318d057411c7c6b51ff96b
parent6995b8cb9622bf574ac6f309e69288e7d0f76ece (diff)
ASoC: tegra_wm9712: Remove __devinitconst attribute
This has been removed from the kernel recently and gives following build errors: sound/soc/tegra/tegra_wm9712.c:155:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitconst’ sound/soc/tegra/tegra_wm9712.c:165:21: error: ‘tegra_wm9712_of_match’ undeclared here (not in a function) Cc: Lucas Stach <dev@lynxeye.de> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r--sound/soc/tegra/tegra_wm9712.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_wm9712.c b/sound/soc/tegra/tegra_wm9712.c
index cdbd2f0a23bc..68d42403d9b5 100644
--- a/sound/soc/tegra/tegra_wm9712.c
+++ b/sound/soc/tegra/tegra_wm9712.c
@@ -152,7 +152,7 @@ static int tegra_wm9712_driver_remove(struct platform_device *pdev)
152 return 0; 152 return 0;
153} 153}
154 154
155static const struct of_device_id tegra_wm9712_of_match[] __devinitconst = { 155static const struct of_device_id tegra_wm9712_of_match[] = {
156 { .compatible = "nvidia,tegra-audio-wm9712", }, 156 { .compatible = "nvidia,tegra-audio-wm9712", },
157 {}, 157 {},
158}; 158};