projects
/
profile
/
mobile
/
platform
/
kernel
/
linux-3.10-sc7730.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3271c37
)
ASoC: sprd: Remove build warnings
67/159767/1
author
Jaechul Lee
<jcsing.lee@samsung.com>
Mon, 13 Nov 2017 02:28:51 +0000
(11:28 +0900)
committer
Jaechul Lee
<jcsing.lee@samsung.com>
Mon, 13 Nov 2017 04:50:44 +0000
(13:50 +0900)
Add __maybe_unused for fixing Wunused-function.
Change-Id: I90c9bd1b0e07fcd5be498acae051afc02dff4d13
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
include/soc/sprd/__sprd_audio_sc8830.h
patch
|
blob
|
history
diff --git
a/include/soc/sprd/__sprd_audio_sc8830.h
b/include/soc/sprd/__sprd_audio_sc8830.h
index
296ba8a
..
7d4b925
100644
(file)
--- a/
include/soc/sprd/__sprd_audio_sc8830.h
+++ b/
include/soc/sprd/__sprd_audio_sc8830.h
@@
-973,7
+973,7
@@
static inline int arch_audio_i2s_switch(int id, int master)
#endif
-static int wrapper_raw_readl(void *value)
+static
__maybe_unused
int wrapper_raw_readl(void *value)
{
u32 ret;
@@
-981,7
+981,7
@@
static int wrapper_raw_readl(void *value)
return (int)ret;
}
-static int wrapper_sci_adi_read(void *value)
+static
__maybe_unused
int wrapper_sci_adi_read(void *value)
{
unsigned long reg = (unsigned long)value;
return sci_adi_read(reg);