Skip to contentSkip to conversation

ASoC: Fix section mismatch warnings in WM8994

PATCH New Mark Brown 1 participant 1 message Mar 7, 2011

Subsystems (3)
lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ASoC: Fix section mismatch warnings in WM8994

Annoying as the __devinitdata is actually correct.

---
 sound/soc/codecs/wm8994-tables.c |    2 +-
 sound/soc/codecs/wm8994.h        |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
sound/soc/codecs/wm8994-tables.c +1 -1
index 61dfd91..a87adbd 100644
@@ -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) */
sound/soc/codecs/wm8994.h +1 -1
index 0c355bf..999b885 100644
@@ -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
Signature · 1 line
1.7.2.3