1 /* 2 * version for XRadio drivers 3 * 4 * Copyright (c) 2013 5 * Xradio Technology Co., Ltd. <www.xradiotech.com> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License version 2 as 9 * published by the Free Software Foundation. 10 */ 11 #ifndef XR_VERSION_H 12 #define XR_VERSION_H 13 14 #define XRADIO_MAJOR_VER 2 15 #define XRADIO_MINOR_VER 18 16 #define XRADIO_PATCH_VER 0 17 18 #define XRADIO_SPEC_MAJOR_VER 0 19 #define XRADIO_SPEC_MINOR_VER 0 20 #define XRADIO_COMMIT_HASH "01cf28e" 21 #define XRADIO_COMMIT_BRANCH "(compat5.4-linux5.4-xr829)" 22 23 #define __XR_VERSTR(x) #x 24 #define _XR_VERSTR(x) __XR_VERSTR(x) 25 26 #define XRADIO_VERSION "XR_v"_XR_VERSTR(XRADIO_MAJOR_VER) "." \ 27 _XR_VERSTR(XRADIO_MINOR_VER) "." \ 28 _XR_VERSTR(XRADIO_PATCH_VER) "_" \ 29 _XR_VERSTR(XRADIO_SPEC_MAJOR_VER) "." \ 30 _XR_VERSTR(XRADIO_SPEC_MINOR_VER) "_" \ 31 XRADIO_COMMIT_HASH \ 32 XRADIO_COMMIT_BRANCH 33 34 #endif 35