1 /* 2 * Copyright (c) 2021, STMicroelectronics 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 #include <version_def.h> 8 openamp_version_major(void)9int openamp_version_major(void) 10 { 11 return OPENAMP_VERSION_MAJOR; 12 } 13 openamp_version_minor(void)14int openamp_version_minor(void) 15 { 16 return OPENAMP_VERSION_MINOR; 17 } 18 openamp_version_patch(void)19int openamp_version_patch(void) 20 { 21 return OPENAMP_VERSION_PATCH; 22 } 23 openamp_version(void)24const char *openamp_version(void) 25 { 26 return OPENAMP_VERSION; 27 } 28