Skip to content

Commit

Permalink
ASoC: tegra_wm9712: Remove __devinitconst attribute
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sachin Kamat authored and Mark Brown committed Jan 24, 2013
1 parent 6995b8c commit b10fedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra_wm9712.c
Original file line number Diff line number Diff line change
Expand Up @@ -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", },
{},
};
Expand Down

0 comments on commit b10fedf

Please sign in to comment.