You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
710 B
25 lines
710 B
/*
|
|
* Copyright (c) Hisilicon Technologies Co., Ltd. 2012-2019. All rights reserved.
|
|
* Description: this file defines the UAPI version code.
|
|
*/
|
|
|
|
#ifndef __UAPI_VERSION_H__
|
|
#define __UAPI_VERSION_H__
|
|
|
|
/* *******************************Struct Definition******************************* */
|
|
/* * \addtogroup UAPI_VERSION */
|
|
/* * @{ */ /* * <!-- [UAPI_VERSION] */
|
|
|
|
#ifndef UAPI_VERSION
|
|
#define UAPI_VERSION(major, minor) (((major) << 8) | (minor))
|
|
#endif
|
|
|
|
#ifndef UAPI_VERSION_CODE
|
|
#define UAPI_VERSION_CODE UAPI_VERSION(1, 0)
|
|
#define UAPI_SUBVERSION_CODE 0
|
|
#define UAPI_PRODUCT_CODE 1
|
|
#endif
|
|
/* * @} */ /* * <!-- ==== Structure Definition end ==== */
|
|
|
|
#endif /* __UAPI_VERSION_H__ */
|