summaryrefslogtreecommitdiffstats
path: root/sound/isa
diff options
context:
space:
mode:
authorkbuild test robot <lkp@intel.com>2018-04-22 20:05:03 +0200
committerTakashi Iwai <tiwai@suse.de>2018-04-23 08:48:54 +0200
commitc4e4a8fb236a6893e2cf0b16d3c1c6c07ee017c8 (patch)
tree3ad9845ef93fadf479bd8aea027f5500cd8ab332 /sound/isa
parentALSA: usb-audio: add implicit fb quirk for Axe-Fx III (diff)
downloadlinux-c4e4a8fb236a6893e2cf0b16d3c1c6c07ee017c8.tar.xz
linux-c4e4a8fb236a6893e2cf0b16d3c1c6c07ee017c8.zip
ALSA: cmi8328: array_find() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/isa')
-rw-r--r--sound/isa/cmi8328.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/isa/cmi8328.c b/sound/isa/cmi8328.c
index d09e456107ad..de6ef1b1cf0e 100644
--- 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;