Browse Source

bsp: cvitek: remove GPL license declaration

GPL is conflict with Apache, which is used by RTT.

See <https://www.apache.org/licenses/GPL-compatibility.html>

Also clean up and remove some words such "LINUX".

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
Chen Wang 4 months ago
parent
commit
6a7e797712
1 changed files with 5 additions and 4 deletions
  1. 5 4
      bsp/cvitek/drivers/libraries/types.h

+ 5 - 4
bsp/cvitek/drivers/libraries/types.h

@@ -1,6 +1,7 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _LINUX_TYPES_H
-#define _LINUX_TYPES_H
+/* SPDX-License-Identifier: Apache-2.0 */
+
+#ifndef __TYPES_H
+#define __TYPES_H
 
 #ifndef __ASSEMBLY__
 #ifdef CONFIG_64BIT
@@ -40,4 +41,4 @@ typedef unsigned long       __u64;
 
 #endif /*  CONFIG_64BIT */
 #endif /*  __ASSEMBLY__ */
-#endif /* _LINUX_TYPES_H */
+#endif /* __TYPES_H */