summaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-11-02 14:49:24 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-11-02 14:49:24 +1100
commit932491f75629ab2e3f4acbfd1a7e16d42f8bc351 (patch)
tree3027780d7a263c4e7c29d61d443ff6da1fd8b112 /core.h
parentae62015391dded62bf60ac0cc8b3e19fef50dbbc (diff)
Transform AVIRT into platform driver
Like aloop, we need to be able to find AVIRT by-path as platform-snd_avirt.0. The 4a-mixer uses this method to find cards. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'core.h')
-rw-r--r--core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core.h b/core.h
index 61a78e9..fe2aaab 100644
--- a/core.h
+++ b/core.h
@@ -21,6 +21,7 @@ struct snd_avirt_core {
struct snd_card *card;
struct device *dev;
struct class *class;
+ struct platform_device *plat_dev;
struct config_group *stream_group;
unsigned int stream_count;
bool streams_sealed;