aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-07 16:42:20 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-03-08 18:56:11 +0000
commitb993f92b99288d4b3a1a1237f3e40fa6460e4b47 (patch)
tree8b9e7c02365357b48e9c4bcfa710922435515681
parent149c7b441bc66b37325f0c494bfe9f303484bd88 (diff)
downloadkernel_samsung_smdk4412-b993f92b99288d4b3a1a1237f3e40fa6460e4b47.zip
kernel_samsung_smdk4412-b993f92b99288d4b3a1a1237f3e40fa6460e4b47.tar.gz
kernel_samsung_smdk4412-b993f92b99288d4b3a1a1237f3e40fa6460e4b47.tar.bz2
ASoC: Fix section mismatch warnings in WM8994
Annoying as the __devinitdata is actually correct. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
-rw-r--r--sound/soc/codecs/wm8994-tables.c2
-rw-r--r--sound/soc/codecs/wm8994.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8994-tables.c b/sound/soc/codecs/wm8994-tables.c
index 61dfd91..a87adbd 100644
--- a/sound/soc/codecs/wm8994-tables.c
+++ b/sound/soc/codecs/wm8994-tables.c
@@ -1573,7 +1573,7 @@ const struct wm8994_access_mask wm8994_access_masks[WM8994_CACHE_SIZE] = {
{ 0x03C3, 0x03C3 }, /* R1569 - Sidetone */
};
-const __devinitdata u16 wm8994_reg_defaults[WM8994_CACHE_SIZE] = {
+const u16 wm8994_reg_defaults[WM8994_CACHE_SIZE] = {
0x8994, /* R0 - Software Reset */
0x0000, /* R1 - Power Management (1) */
0x6000, /* R2 - Power Management (2) */
diff --git a/sound/soc/codecs/wm8994.h b/sound/soc/codecs/wm8994.h
index 0c355bf..999b885 100644
--- a/sound/soc/codecs/wm8994.h
+++ b/sound/soc/codecs/wm8994.h
@@ -43,6 +43,6 @@ struct wm8994_access_mask {
};
extern const struct wm8994_access_mask wm8994_access_masks[WM8994_CACHE_SIZE];
-extern const __devinitdata u16 wm8994_reg_defaults[WM8994_CACHE_SIZE];
+extern const u16 wm8994_reg_defaults[WM8994_CACHE_SIZE];
#endif