summaryrefslogtreecommitdiffstats
path: root/sound/usb/card.c
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-05-25 09:09:01 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-25 09:36:20 +0200
commit9e38658f703732cb69936553cef4bdb4e5294f3f (patch)
tree8db752c56b8c5677c5ea215bf6b249f17844e4e6 /sound/usb/card.c
parentALSA: usb-audio: rework add_control_to_empty() (diff)
downloadlinux-9e38658f703732cb69936553cef4bdb4e5294f3f.tar.xz
linux-9e38658f703732cb69936553cef4bdb4e5294f3f.zip
ALSA: usb-audio: export snd_usb_feature_unit_ctl
In order to allow quirks functions to hook up to the standard feature unit op tables, this patch exports a pointer to the struct that is used internally. That way, all the code handling the control can be kept private, and external code can reference the symbol to re-use it. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/card.c')
-rw-r--r--sound/usb/card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/card.c b/sound/usb/card.c
index 84a5ce70a2b0..220c6167dd86 100644
--- a/sound/usb/card.c
+++ b/sound/usb/card.c
@@ -48,6 +48,7 @@
#include <linux/usb/audio.h>
#include <linux/usb/audio-v2.h>
+#include <sound/control.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/pcm.h>