]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: sound/usb/usx2y: fix sparse warning: Should it be static?
authorHannes Eder <hannes@hanneseder.net>
Wed, 25 Feb 2009 21:26:48 +0000 (22:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Feb 2009 08:57:17 +0000 (09:57 +0100)
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>
sound/usb/usx2y/usX2Yhwdep.c
sound/usb/usx2y/usx2yhwdeppcm.h

index 1558a5c4094faebb589c9822a37182c837867c39..fc650c800afc0c46ac977fb4f66913233c134a53 100644 (file)
@@ -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)
 {
index c3382fdc386b6774e95e3a8bfdd083aa3004904b..9c4fb84b2aa0f8f2a1e6d851055829244d3bded7 100644 (file)
@@ -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);