aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/vx222/vx222.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/vx222/vx222.h')
-rw-r--r--sound/pci/vx222/vx222.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/vx222/vx222.h b/sound/pci/vx222/vx222.h
index 2f0d78f609a6..cae355c8ed28 100644
--- a/sound/pci/vx222/vx222.h
+++ b/sound/pci/vx222/vx222.h
@@ -39,6 +39,8 @@ struct snd_vx222 {
int mic_level; /* mic level for vx222 mic */
};
+#define to_vx222(x) container_of(x, struct snd_vx222, core)
+
/* we use a lookup table with 148 values, see vx_mixer.c */
#define VX2_AKM_LEVEL_MAX 0x93