aboutsummaryrefslogtreecommitdiffstats
path: root/sources/xdma_driver/libxdma/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/xdma_driver/libxdma/version.h')
-rw-r--r--sources/xdma_driver/libxdma/version.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/sources/xdma_driver/libxdma/version.h b/sources/xdma_driver/libxdma/version.h
new file mode 100644
index 0000000..703424d
--- /dev/null
+++ b/sources/xdma_driver/libxdma/version.h
@@ -0,0 +1,28 @@
+/*
+ * This file is part of the Xilinx DMA IP Core driver for Linux
+ *
+ * Copyright (c) 2016-present, Xilinx, Inc.
+ * All rights reserved.
+ *
+ * This source code is licensed under both the BSD-style license (found in the
+ * LICENSE file in the root directory of this source tree) and the GPLv2 (found
+ * in the COPYING file in the root directory of this source tree).
+ * You may select, at your option, one of the above-listed licenses.
+ */
+
+#ifndef __XDMA_VERSION_H__
+#define __XDMA_VERSION_H__
+
+#define DRV_MOD_MAJOR 2017
+#define DRV_MOD_MINOR 1
+#define DRV_MOD_PATCHLEVEL 36
+
+#define DRV_MODULE_VERSION \
+ __stringify(DRV_MOD_MAJOR) "." \
+ __stringify(DRV_MOD_MINOR) "." \
+ __stringify(DRV_MOD_PATCHLEVEL)
+
+#define DRV_MOD_VERSION_NUMBER \
+ ((DRV_MOD_MAJOR)*1000 + (DRV_MOD_MINOR)*100 + DRV_MOD_PATCHLEVEL)
+
+#endif /* ifndef __XDMA_VERSION_H__ */