Skip to content

Commit

Permalink
ALSA: sound/usb/usx2y: fix sparse warning: Should it be static?
Browse files Browse the repository at this point in the history
Impact: Move declaration to header file.

Fix this sparse warning:
  sound/usb/usx2y/usx2yhwdeppcm.c:739:5: warning: symbol 'usX2Y_hwdep_pcm_new' was not declared. Should it be static?

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Hannes Eder authored and Takashi Iwai committed Feb 26, 2009
1 parent 8380740 commit 6193898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sound/usb/usx2y/usX2Yhwdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
#include "usbusx2y.h"
#include "usX2Yhwdep.h"

int usX2Y_hwdep_pcm_new(struct snd_card *card);


static int snd_us428ctls_vm_fault(struct vm_area_struct *area,
struct vm_fault *vmf)
{
Expand Down
2 changes: 2 additions & 0 deletions sound/usb/usx2y/usx2yhwdeppcm.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ struct snd_usX2Y_hwdep_pcm_shm {
volatile unsigned captured_iso_frames;
int capture_iso_start;
};

int usX2Y_hwdep_pcm_new(struct snd_card *card);

0 comments on commit 6193898

Please sign in to comment.