Skip to content

Commit

Permalink
ASoC: remove use of __devinitconst
Browse files Browse the repository at this point in the history
CONFIG_HOTPLUG is going away as an option so __devinitconst is no
longer needed.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Bill Pemberton authored and Mark Brown committed Nov 20, 2012
1 parent f4a75d2 commit f6e6574
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm5100.c
Original file line number Diff line number Diff line change
Expand Up @@ -1233,7 +1233,7 @@ static const struct snd_soc_dapm_route wm5100_dapm_routes[] = {
{ "PWM2", NULL, "PWM2 Driver" },
};

static const __devinitconst struct reg_default wm5100_reva_patches[] = {
static const struct reg_default wm5100_reva_patches[] = {
{ WM5100_AUDIO_IF_1_10, 0 },
{ WM5100_AUDIO_IF_1_11, 1 },
{ WM5100_AUDIO_IF_1_12, 2 },
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -4007,7 +4007,7 @@ int snd_soc_register_codec(struct device *dev,
codec->reg_size = reg_size;
/* it is necessary to make a copy of the default register cache
* because in the case of using a compression type that requires
* the default register cache to be marked as __devinitconst the
* the default register cache to be marked as the
* kernel might have freed the array by the time we initialize
* the cache.
*/
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra20_das.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ static int __devexit tegra20_das_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra20_das_of_match[] __devinitconst = {
static const struct of_device_id tegra20_das_of_match[] = {
{ .compatible = "nvidia,tegra20-das", },
{},
};
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/tegra/tegra20_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,12 @@ static int __devexit tegra20_i2s_platform_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra20_i2s_of_match[] __devinitconst = {
static const struct of_device_id tegra20_i2s_of_match[] = {
{ .compatible = "nvidia,tegra20-i2s", },
{},
};

static const struct dev_pm_ops tegra20_i2s_pm_ops __devinitconst = {
static const struct dev_pm_ops tegra20_i2s_pm_ops = {
SET_RUNTIME_PM_OPS(tegra20_i2s_runtime_suspend,
tegra20_i2s_runtime_resume, NULL)
};
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra20_spdif.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ static int __devexit tegra20_spdif_platform_remove(struct platform_device *pdev)
return 0;
}

static const struct dev_pm_ops tegra20_spdif_pm_ops __devinitconst = {
static const struct dev_pm_ops tegra20_spdif_pm_ops = {
SET_RUNTIME_PM_OPS(tegra20_spdif_runtime_suspend,
tegra20_spdif_runtime_resume, NULL)
};
Expand Down
6 changes: 3 additions & 3 deletions sound/soc/tegra/tegra30_ahub.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ int tegra30_ahub_unset_rx_cif_source(enum tegra30_ahub_rxcif rxcif)
}
EXPORT_SYMBOL_GPL(tegra30_ahub_unset_rx_cif_source);

static const char * const configlink_clocks[] __devinitconst = {
static const char * const configlink_clocks[] = {
"i2s0",
"i2s1",
"i2s2",
Expand Down Expand Up @@ -603,12 +603,12 @@ static int __devexit tegra30_ahub_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra30_ahub_of_match[] __devinitconst = {
static const struct of_device_id tegra30_ahub_of_match[] = {
{ .compatible = "nvidia,tegra30-ahub", },
{},
};

static const struct dev_pm_ops tegra30_ahub_pm_ops __devinitconst = {
static const struct dev_pm_ops tegra30_ahub_pm_ops = {
SET_RUNTIME_PM_OPS(tegra30_ahub_runtime_suspend,
tegra30_ahub_runtime_resume, NULL)
};
Expand Down
4 changes: 2 additions & 2 deletions sound/soc/tegra/tegra30_i2s.c
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,12 @@ static int __devexit tegra30_i2s_platform_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra30_i2s_of_match[] __devinitconst = {
static const struct of_device_id tegra30_i2s_of_match[] = {
{ .compatible = "nvidia,tegra30-i2s", },
{},
};

static const struct dev_pm_ops tegra30_i2s_pm_ops __devinitconst = {
static const struct dev_pm_ops tegra30_i2s_pm_ops = {
SET_RUNTIME_PM_OPS(tegra30_i2s_runtime_suspend,
tegra30_i2s_runtime_resume, NULL)
};
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra_alc5632.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ static int __devexit tegra_alc5632_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra_alc5632_of_match[] __devinitconst = {
static const struct of_device_id tegra_alc5632_of_match[] = {
{ .compatible = "nvidia,tegra-audio-alc5632", },
{},
};
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra_wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static int __devexit tegra_wm8753_driver_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra_wm8753_of_match[] __devinitconst = {
static const struct of_device_id tegra_wm8753_of_match[] = {
{ .compatible = "nvidia,tegra-audio-wm8753", },
{},
};
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/tegra_wm8903.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ static int __devexit tegra_wm8903_driver_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id tegra_wm8903_of_match[] __devinitconst = {
static const struct of_device_id tegra_wm8903_of_match[] = {
{ .compatible = "nvidia,tegra-audio-wm8903", },
{},
};
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/tegra/trimslice.c
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ static int __devexit tegra_snd_trimslice_remove(struct platform_device *pdev)
return 0;
}

static const struct of_device_id trimslice_of_match[] __devinitconst = {
static const struct of_device_id trimslice_of_match[] = {
{ .compatible = "nvidia,tegra-audio-trimslice", },
{},
};
Expand Down

0 comments on commit f6e6574

Please sign in to comment.