[alsa-devel] [PATCH 1/5] xen/sndif: Introduce protocol version

Oleksandr Andrushchenko andr2000 at gmail.com
Thu Apr 12 18:00:58 CEST 2018


Protocol version was referenced in the protocol description,
but missed its definition. Fix this by adding a constant
for current protocol version.

Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko at epam.com>
---
 include/xen/interface/io/sndif.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/xen/interface/io/sndif.h b/include/xen/interface/io/sndif.h
index 5c918276835e..fc1752cf5a16 100644
--- a/include/xen/interface/io/sndif.h
+++ b/include/xen/interface/io/sndif.h
@@ -36,6 +36,13 @@
 #include "ring.h"
 #include "../grant_table.h"
 
+/*
+ ******************************************************************************
+ *                           Protocol version
+ ******************************************************************************
+ */
+#define XENSND_PROTOCOL_VERSION	1
+
 /*
  ******************************************************************************
  *                  Feature and Parameter Negotiation
-- 
2.17.0



More information about the Alsa-devel mailing list