summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/fsl_asrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/fsl/fsl_asrc.h')
-rw-r--r--sound/soc/fsl/fsl_asrc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl_asrc.h b/sound/soc/fsl/fsl_asrc.h
index 8acc68af90c4..3dec3abc5fec 100644
--- a/sound/soc/fsl/fsl_asrc.h
+++ b/sound/soc/fsl/fsl_asrc.h
@@ -11,6 +11,7 @@
#define _FSL_ASRC_H
#include <uapi/linux/mxc_asrc.h>
+#include <linux/miscdevice.h>
#define IN 0
#define OUT 1
@@ -358,6 +359,7 @@ struct fsl_asrc {
spinlock_t lock;
struct fsl_asrc_pair *pair[ASRC_PAIR_MAX_NUM];
+ struct miscdevice asrc_miscdev;
unsigned int channel_bits;
unsigned int channel_avail;
unsigned int pair_streams;
@@ -366,6 +368,7 @@ struct fsl_asrc {
int asrc_width;
u32 regcache_cfg;
+ char name[20];
};
#define DRV_NAME "fsl-asrc-dai"