OSDN Git Service

ASoC: tegra20_ac97: Remove __devinitconst attribute
authorSachin Kamat <sachin.kamat@linaro.org>
Thu, 24 Jan 2013 09:21:16 +0000 (14:51 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 24 Jan 2013 10:55:15 +0000 (18:55 +0800)
__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@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>
sound/soc/tegra/tegra20_ac97.c

index 1bae73b..336dcdd 100644 (file)
@@ -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", },
        {},
 };