diff mbox

[RFC,sound] ALSA: firewire-lib: process_rx_data_blocks() can be static

Message ID 20150929144610.GA72209@roam (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu Sept. 29, 2015, 2:46 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 amdtp-am824.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Takashi Iwai Sept. 29, 2015, 2:53 p.m. UTC | #1
On Tue, 29 Sep 2015 16:46:10 +0200,
kbuild test robot wrote:
> 
> 
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Applied, thanks.


Takashi

> ---
>  amdtp-am824.c |    8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/sound/firewire/amdtp-am824.c b/sound/firewire/amdtp-am824.c
> index fe4b83f..bebddc6 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);
>
diff mbox

Patch

diff --git a/sound/firewire/amdtp-am824.c b/sound/firewire/amdtp-am824.c
index fe4b83f..bebddc6 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);