diff mbox

[1/5] xen/sndif: Introduce protocol version

Message ID 20180412160102.15833-2-oleksandr_andrushchenko@epam.com (mailing list archive)
State New, archived
Headers show

Commit Message

Oleksandr Andrushchenko April 12, 2018, 4 p.m. UTC
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@epam.com>
---
 include/xen/interface/io/sndif.h | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox

Patch

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