提交 b10fedf8 编写于 作者: S Sachin Kamat 提交者: Mark Brown

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: NSachin Kamat <sachin.kamat@linaro.org>
Reviewed-by: NStephen Warren <swarren@nvidia.com>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 6995b8cb
......@@ -152,7 +152,7 @@ static int tegra_wm9712_driver_remove(struct platform_device *pdev)
return 0;
}
static const struct of_device_id tegra_wm9712_of_match[] __devinitconst = {
static const struct of_device_id tegra_wm9712_of_match[] = {
{ .compatible = "nvidia,tegra-audio-wm9712", },
{},
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册