summaryrefslogtreecommitdiff
path: root/sound/usb/usx2y/usx2yhwdeppcm.h
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-02-25 22:26:48 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-26 09:57:17 +0100
commit619389882ba37121d0f2f7b08e4944e47b379118 (patch)
treedf5b92d4ddd0acb76c03997f7cd79d0239cd84e2 /sound/usb/usx2y/usx2yhwdeppcm.h
parent83807400794a1d680a4fb70a610c5f486e734f45 (diff)
ALSA: sound/usb/usx2y: fix sparse warning: Should it be static?
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>
Diffstat (limited to 'sound/usb/usx2y/usx2yhwdeppcm.h')
-rw-r--r--sound/usb/usx2y/usx2yhwdeppcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/usb/usx2y/usx2yhwdeppcm.h b/sound/usb/usx2y/usx2yhwdeppcm.h
index c3382fdc386b..9c4fb84b2aa0 100644
--- a/sound/usb/usx2y/usx2yhwdeppcm.h
+++ b/sound/usb/usx2y/usx2yhwdeppcm.h
@@ -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);