summaryrefslogtreecommitdiffstats
path: root/sound/avirt.h
diff options
context:
space:
mode:
authorMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-31 18:41:33 +1100
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-31 18:41:33 +1100
commit0765c6c497379a9f850d15be3b3cbdaba59fe7fc (patch)
tree9059ea9d2e62080e4a55f8f30868d6f72485e5f8 /sound/avirt.h
parent80973a617ada9181a40a69e25b7f23e7c02bc545 (diff)
Remove coreinfo, absorb version info into core
Since coreinfo only has version info, and this is not being used at all, we can absorb the version info into the private avirt_core structure. We could in future implement a function to retrieve the version, when, and if, it is required. Signed-off-by: Mark Farrugia <mark.farrugia@fiberdyne.com.au>
Diffstat (limited to 'sound/avirt.h')
-rw-r--r--sound/avirt.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sound/avirt.h b/sound/avirt.h
index 1a5c546..b077bbc 100644
--- a/sound/avirt.h
+++ b/sound/avirt.h
@@ -63,20 +63,11 @@ struct snd_avirt_stream {
};
/**
- * AVIRT core info
- */
-struct snd_avirt_coreinfo {
- unsigned int version[3];
-};
-
-/**
* snd_avirt_audiopath_register - register Audio Path with AVIRT
* @audiopath: Audio Path to be registered
- * @core: ALSA virtual driver core info
* @return: 0 on success or error code otherwise
*/
-int snd_avirt_audiopath_register(struct snd_avirt_audiopath *audiopath,
- struct snd_avirt_coreinfo **coreinfo);
+int snd_avirt_audiopath_register(struct snd_avirt_audiopath *audiopath);
/**
* snd_avirt_audiopath_deregister - deregister Audio Path with AVIRT