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 --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