From: kbuild test robot Date: Tue, 29 Sep 2015 14:46:10 +0000 (+0800) Subject: ALSA: firewire-lib: process_rx_data_blocks() can be static X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=02e6ef9fba3ed85e31b13cbd6bb2185412b44c9e;p=openwrt%2Fstaging%2Fblogic.git ALSA: firewire-lib: process_rx_data_blocks() can be static Signed-off-by: Fengguang Wu Signed-off-by: Takashi Iwai --- diff --git a/sound/firewire/amdtp-am824.c b/sound/firewire/amdtp-am824.c index fe4b83f65831..bebddc60fde8 100644 --- a/sound/firewire/amdtp-am824.c +++ b/sound/firewire/amdtp-am824.c @@ -399,8 +399,8 @@ static void read_midi_messages(struct amdtp_stream *s, } } -unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer, - unsigned int data_blocks, unsigned int *syt) +static unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer, + unsigned int data_blocks, unsigned int *syt) { struct amdtp_am824 *p = s->protocol; struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm); @@ -420,8 +420,8 @@ unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer, return pcm_frames; } -unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer, - unsigned int data_blocks, unsigned int *syt) +static unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer, + unsigned int data_blocks, unsigned int *syt) { struct amdtp_am824 *p = s->protocol; struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm);