projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91a8561
)
ALSA: cmi8328: array_find() can be static
author
kbuild test robot
<lkp@intel.com>
Sun, 22 Apr 2018 18:05:03 +0000
(
02:05
+0800)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 23 Apr 2018 06:48:54 +0000
(08:48 +0200)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/cmi8328.c
patch
|
blob
|
history
diff --git
a/sound/isa/cmi8328.c
b/sound/isa/cmi8328.c
index d09e456107ad0d0f1940fc7405cb51103c191637..de6ef1b1cf0eb0718ed0420cf2599451646f5a3b 100644
(file)
--- a/
sound/isa/cmi8328.c
+++ b/
sound/isa/cmi8328.c
@@
-192,7
+192,7
@@
static int snd_cmi8328_mixer(struct snd_wss *chip)
}
/* find index of an item in "-1"-ended array */
-int array_find(int array[], int item)
+
static
int array_find(int array[], int item)
{
int i;
@@
-203,7
+203,7
@@
int array_find(int array[], int item)
return -1;
}
/* the same for long */
-int array_find_l(long array[], long item)
+
static
int array_find_l(long array[], long item)
{
int i;