forked from luck/tmp_suning_uos_patched
ALSA: cmi8328: array_find() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
91a8561d0e
commit
c4e4a8fb23
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user