diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-09-29 10:46:10 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-09-29 10:52:52 -0400 |
commit | 02e6ef9fba3ed85e31b13cbd6bb2185412b44c9e (patch) | |
tree | b21a07ae84f057eba2fa77754fd10832cfdb5abf | |
parent | 094435d41df823dde850e193add57534a5b709c9 (diff) |
ALSA: firewire-lib: process_rx_data_blocks() can be static
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/firewire/amdtp-am824.c | 8 |
1 files changed, 4 insertions, 4 deletions
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, | |||
399 | } | 399 | } |
400 | } | 400 | } |
401 | 401 | ||
402 | unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer, | 402 | static unsigned int process_rx_data_blocks(struct amdtp_stream *s, __be32 *buffer, |
403 | unsigned int data_blocks, unsigned int *syt) | 403 | unsigned int data_blocks, unsigned int *syt) |
404 | { | 404 | { |
405 | struct amdtp_am824 *p = s->protocol; | 405 | struct amdtp_am824 *p = s->protocol; |
406 | struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm); | 406 | 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, | |||
420 | return pcm_frames; | 420 | return pcm_frames; |
421 | } | 421 | } |
422 | 422 | ||
423 | unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer, | 423 | static unsigned int process_tx_data_blocks(struct amdtp_stream *s, __be32 *buffer, |
424 | unsigned int data_blocks, unsigned int *syt) | 424 | unsigned int data_blocks, unsigned int *syt) |
425 | { | 425 | { |
426 | struct amdtp_am824 *p = s->protocol; | 426 | struct amdtp_am824 *p = s->protocol; |
427 | struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm); | 427 | struct snd_pcm_substream *pcm = ACCESS_ONCE(s->pcm); |