ALSA: firewire-lib: process_rx_data_blocks() can be static
authorkbuild test robot <fengguang.wu@intel.com>
Tue, 29 Sep 2015 14:46:10 +0000 (22:46 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 29 Sep 2015 14:52:52 +0000 (16:52 +0200)
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/amdtp-am824.c

index fe4b83f65831b4157063eac58cf2697a28612ac9..bebddc60fde84521ae639c512808a6ea6f933656 100644 (file)
@@ -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);