summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorRoland Hieber <rohieb@rohieb.name>2020-02-13 13:12:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-02-17 10:08:47 +0100
commit2c74908aeb17a204039aab382b4ab731d1b5dd8b (patch)
treec4684268f46f115a31bf1738b2b4d82d8ecd4ac5 /include
parent9d90f943eedf9610181be4a0c42285926d8a5338 (diff)
downloadbarebox-2c74908aeb17a204039aab382b4ab731d1b5dd8b.tar.gz
barebox-2c74908aeb17a204039aab382b4ab731d1b5dd8b.tar.xz
include: add SPDX GPL-2.0-only license tags for files without licensing information
According to our /README, GPL-2.0-only applies for the whole project except noted otherwise. Signed-off-by: Roland Hieber <rohieb@rohieb.name> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/abort.h1
-rw-r--r--include/bbu.h1
-rw-r--r--include/block.h1
-rw-r--r--include/blspec.h1
-rw-r--r--include/boot.h1
-rw-r--r--include/bootchooser.h1
-rw-r--r--include/bootm.h1
-rw-r--r--include/bootsource.h1
-rw-r--r--include/bunzip2.h1
-rw-r--r--include/byteorder.h1
-rw-r--r--include/cache.h1
-rw-r--r--include/clock.h1
-rw-r--r--include/cmdlinepart.h1
-rw-r--r--include/complete.h1
-rw-r--r--include/console_countdown.h1
-rw-r--r--include/crc.h1
-rw-r--r--include/crc7.h1
-rw-r--r--include/dirent.h1
-rw-r--r--include/dma-dir.h1
-rw-r--r--include/efi.h1
-rw-r--r--include/elf.h1
-rw-r--r--include/envfs.h1
-rw-r--r--include/errno.h1
-rw-r--r--include/fb.h1
-rw-r--r--include/fcntl.h1
-rw-r--r--include/fdt.h1
-rw-r--r--include/file-list.h1
-rw-r--r--include/filetype.h1
-rw-r--r--include/fs.h1
-rw-r--r--include/globalvar.h1
-rw-r--r--include/gpio.h1
-rw-r--r--include/gpio_keys.h1
-rw-r--r--include/gunzip.h1
-rw-r--r--include/image-metadata.h1
-rw-r--r--include/init.h1
-rw-r--r--include/io.h1
-rw-r--r--include/ioctl.h1
-rw-r--r--include/kallsyms.h1
-rw-r--r--include/kgdb.h1
-rw-r--r--include/led.h1
-rw-r--r--include/libbb.h2
-rw-r--r--include/libfile.h1
-rw-r--r--include/libgen.h1
-rw-r--r--include/lzo.h1
-rw-r--r--include/magicvar.h1
-rw-r--r--include/malloc.h1
-rw-r--r--include/math.h1
-rw-r--r--include/memory.h1
-rw-r--r--include/memtest.h1
-rw-r--r--include/mmu.h1
-rw-r--r--include/module.h1
-rw-r--r--include/nand.h1
-rw-r--r--include/notifier.h1
-rw-r--r--include/of.h1
-rw-r--r--include/of_address.h1
-rw-r--r--include/of_device.h1
-rw-r--r--include/of_pci.h1
-rw-r--r--include/param.h1
-rw-r--r--include/parseopt.h1
-rw-r--r--include/partition.h1
-rw-r--r--include/phy-id-list.h1
-rw-r--r--include/pinctrl.h1
-rw-r--r--include/poweroff.h1
-rw-r--r--include/printk.h1
-rw-r--r--include/progress.h1
-rw-r--r--include/pwm.h1
-rw-r--r--include/qsort.h1
-rw-r--r--include/ratp.h1
-rw-r--r--include/ratp_bb.h1
-rw-r--r--include/readkey.h1
-rw-r--r--include/regmap.h1
-rw-r--r--include/regulator.h1
-rw-r--r--include/restart.h1
-rw-r--r--include/serdev.h1
-rw-r--r--include/sntp.h1
-rw-r--r--include/state.h1
-rw-r--r--include/stdio.h1
-rw-r--r--include/stdlib.h1
-rw-r--r--include/string.h1
-rw-r--r--include/stringlist.h1
-rw-r--r--include/twl6030_pwrbtn.h1
-rw-r--r--include/types.h1
-rw-r--r--include/ubiformat.h1
-rw-r--r--include/uncompress.h1
-rw-r--r--include/unistd.h1
-rw-r--r--include/usb_dfu_trailer.h1
-rw-r--r--include/wchar.h1
-rw-r--r--include/xfuncs.h1
88 files changed, 88 insertions, 1 deletions
diff --git a/include/abort.h b/include/abort.h
index 89ee549e34..039500b04d 100644
--- a/include/abort.h
+++ b/include/abort.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ABORT_H
#define __ABORT_H
diff --git a/include/bbu.h b/include/bbu.h
index 9da6785d2e..3b9d2f4bf1 100644
--- a/include/bbu.h
+++ b/include/bbu.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __INCLUDE_BBU_H
#define __INCLUDE_BBU_H
diff --git a/include/block.h b/include/block.h
index 91377679b0..bd87efdc62 100644
--- a/include/block.h
+++ b/include/block.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __BLOCK_H
#define __BLOCK_H
diff --git a/include/blspec.h b/include/blspec.h
index 7d911f030b..37076cd47c 100644
--- a/include/blspec.h
+++ b/include/blspec.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LOADER_H__
#define __LOADER_H__
diff --git a/include/boot.h b/include/boot.h
index 4f7612ab80..4054c27d93 100644
--- a/include/boot.h
+++ b/include/boot.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __BOOT_H
#define __BOOT_H
diff --git a/include/bootchooser.h b/include/bootchooser.h
index 7822c01459..2cfd5b126a 100644
--- a/include/bootchooser.h
+++ b/include/bootchooser.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __BOOTCHOOSER_H
#define __BOOTCHOOSER_H
diff --git a/include/bootm.h b/include/bootm.h
index a041aa35b9..7782de7a47 100644
--- a/include/bootm.h
+++ b/include/bootm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __BOOTM_H
#define __BOOTM_H
diff --git a/include/bootsource.h b/include/bootsource.h
index 92f7f27cd4..32295ddd96 100644
--- a/include/bootsource.h
+++ b/include/bootsource.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __BOOTSOURCE_H__
#define __BOOTSOURCE_H__
diff --git a/include/bunzip2.h b/include/bunzip2.h
index 115272137a..55404ff846 100644
--- a/include/bunzip2.h
+++ b/include/bunzip2.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef DECOMPRESS_BUNZIP2_H
#define DECOMPRESS_BUNZIP2_H
diff --git a/include/byteorder.h b/include/byteorder.h
index 4b255a5fab..c3cac85013 100644
--- a/include/byteorder.h
+++ b/include/byteorder.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __BYTEORDER_H__
#define __BYTEORDER_H__
diff --git a/include/cache.h b/include/cache.h
index 23841dcd06..37e008794b 100644
--- a/include/cache.h
+++ b/include/cache.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __CACHE_H
#define __CACHE_H
diff --git a/include/clock.h b/include/clock.h
index 211748f3a0..d681bf630e 100644
--- a/include/clock.h
+++ b/include/clock.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef CLOCK_H
#define CLOCK_H
diff --git a/include/cmdlinepart.h b/include/cmdlinepart.h
index bf8cdfa62a..9f5bdf610a 100644
--- a/include/cmdlinepart.h
+++ b/include/cmdlinepart.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __CMD_LINE_PART_H
#define __CMD_LINE_PART_H
diff --git a/include/complete.h b/include/complete.h
index 491ba66cb4..763d256bf4 100644
--- a/include/complete.h
+++ b/include/complete.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __COMPLETE_
#define __COMPLETE_
diff --git a/include/console_countdown.h b/include/console_countdown.h
index 88cadf11ec..df8da71e8b 100644
--- a/include/console_countdown.h
+++ b/include/console_countdown.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __CONSOLE_COUNTDOWN_H
#define __CONSOLE_COUNTDOWN_H
diff --git a/include/crc.h b/include/crc.h
index a67388f732..eb972705c2 100644
--- a/include/crc.h
+++ b/include/crc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __INCLUDE_CRC_H
#define __INCLUDE_CRC_H
diff --git a/include/crc7.h b/include/crc7.h
index 0c41cc341f..27d2dae422 100644
--- a/include/crc7.h
+++ b/include/crc7.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _LINUX_CRC7_H
#define _LINUX_CRC7_H
#include <common.h>
diff --git a/include/dirent.h b/include/dirent.h
index 1df5d90452..d7b5e78b27 100644
--- a/include/dirent.h
+++ b/include/dirent.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __DIRENT_H
#define __DIRENT_H
diff --git a/include/dma-dir.h b/include/dma-dir.h
index 970764c5b3..d3b1a27b4f 100644
--- a/include/dma-dir.h
+++ b/include/dma-dir.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __DMA_DIR_H
#define __DMA_DIR_H
diff --git a/include/efi.h b/include/efi.h
index 43c0593951..5698a84145 100644
--- a/include/efi.h
+++ b/include/efi.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _LINUX_EFI_H
#define _LINUX_EFI_H
diff --git a/include/elf.h b/include/elf.h
index 44be07f73a..113728f08a 100644
--- a/include/elf.h
+++ b/include/elf.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _LINUX_ELF_H
#define _LINUX_ELF_H
diff --git a/include/envfs.h b/include/envfs.h
index c8fc3759c6..d4e2c6110e 100644
--- a/include/envfs.h
+++ b/include/envfs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _ENVFS_H
#define _ENVFS_H
diff --git a/include/errno.h b/include/errno.h
index 496ccab0ee..50f00de5d6 100644
--- a/include/errno.h
+++ b/include/errno.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __ERRNO_H
#define __ERRNO_H
diff --git a/include/fb.h b/include/fb.h
index 271b939968..e17d07ae0c 100644
--- a/include/fb.h
+++ b/include/fb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __FB_H
#define __FB_H
diff --git a/include/fcntl.h b/include/fcntl.h
index 98020bdfb1..2e7c0eed34 100644
--- a/include/fcntl.h
+++ b/include/fcntl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __FCNTL_H
#define __FCNTL_H
diff --git a/include/fdt.h b/include/fdt.h
index 38a2d27b02..232514c894 100644
--- a/include/fdt.h
+++ b/include/fdt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _FDT_H
#define _FDT_H
diff --git a/include/file-list.h b/include/file-list.h
index 404d8d64bb..9a9edfa378 100644
--- a/include/file-list.h
+++ b/include/file-list.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __FILE_LIST
#define __FILE_LIST
diff --git a/include/filetype.h b/include/filetype.h
index db95fdaa0a..c3a5bdfbbe 100644
--- a/include/filetype.h
+++ b/include/filetype.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __FILE_TYPE_H
#define __FILE_TYPE_H
diff --git a/include/fs.h b/include/fs.h
index 38debfc41b..04ec1329e1 100644
--- a/include/fs.h
+++ b/include/fs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __FS_H
#define __FS_H
diff --git a/include/globalvar.h b/include/globalvar.h
index 67391e2042..fc85e93e14 100644
--- a/include/globalvar.h
+++ b/include/globalvar.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __GLOBALVAR_H
#define __GLOBALVAR_H
diff --git a/include/gpio.h b/include/gpio.h
index 0c0c0337e0..98c5b93ba2 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __GPIO_H
#define __GPIO_H
diff --git a/include/gpio_keys.h b/include/gpio_keys.h
index f4a22e16db..f12bed2a0b 100644
--- a/include/gpio_keys.h
+++ b/include/gpio_keys.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _GPIO_KEYS_H
#define _GPIO_KEYS_H
diff --git a/include/gunzip.h b/include/gunzip.h
index b9018941d1..0a959d5eb7 100644
--- a/include/gunzip.h
+++ b/include/gunzip.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef GUNZIP_H
#define GUNZIP_H
diff --git a/include/image-metadata.h b/include/image-metadata.h
index 5904d95acd..330ca3588a 100644
--- a/include/image-metadata.h
+++ b/include/image-metadata.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __INCLUDE_IMAGE_METADTA_H
#define __INCLUDE_IMAGE_METADTA_H
diff --git a/include/init.h b/include/init.h
index 527d49afec..d1cef14b07 100644
--- a/include/init.h
+++ b/include/init.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _INIT_H
#define _INIT_H
diff --git a/include/io.h b/include/io.h
index 8eb56b061f..9130020722 100644
--- a/include/io.h
+++ b/include/io.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __IO_H
#define __IO_H
diff --git a/include/ioctl.h b/include/ioctl.h
index 1ade20f905..3290a52519 100644
--- a/include/ioctl.h
+++ b/include/ioctl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __IOCTL_H
#define __IOCTL_H
diff --git a/include/kallsyms.h b/include/kallsyms.h
index 69b84d2c6c..e0b3ff7cd5 100644
--- a/include/kallsyms.h
+++ b/include/kallsyms.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __KALLSYMS_H
#define __KALLSYMS_H
diff --git a/include/kgdb.h b/include/kgdb.h
index f543cd6e18..1f23833f92 100644
--- a/include/kgdb.h
+++ b/include/kgdb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __KGDB_H__
#define __KGDB_H__
diff --git a/include/led.h b/include/led.h
index 0ce857129d..6b6aff922a 100644
--- a/include/led.h
+++ b/include/led.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LED_H
#define __LED_H
diff --git a/include/libbb.h b/include/libbb.h
index d05c190637..a3a13b41ce 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -1,4 +1,4 @@
-
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LIBBB_H
#define __LIBBB_H
diff --git a/include/libfile.h b/include/libfile.h
index f1d6951877..350ddddf70 100644
--- a/include/libfile.h
+++ b/include/libfile.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LIBFILE_H
#define __LIBFILE_H
diff --git a/include/libgen.h b/include/libgen.h
index 71f06eb6f6..6c0f039efa 100644
--- a/include/libgen.h
+++ b/include/libgen.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LIBGEN_H
#define __LIBGEN_H
diff --git a/include/lzo.h b/include/lzo.h
index 6c34be13ef..f46f38b0ed 100644
--- a/include/lzo.h
+++ b/include/lzo.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __LZO_H__
#define __LZO_H__
/*
diff --git a/include/magicvar.h b/include/magicvar.h
index bb5bd2591f..9fb89a84cc 100644
--- a/include/magicvar.h
+++ b/include/magicvar.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MAGIC_VARS_H
#define __MAGIC_VARS_H
diff --git a/include/malloc.h b/include/malloc.h
index 0d3c9e97a0..971fc4058b 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MALLOC_H
#define __MALLOC_H
diff --git a/include/math.h b/include/math.h
index 5648e3f9c1..1e59a8479e 100644
--- a/include/math.h
+++ b/include/math.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/* math.h - interface to shell math "library" -- this allows shells to share
* the implementation of arithmetic $((...)) expansions.
*
diff --git a/include/memory.h b/include/memory.h
index 73ee7661ef..906d9f7b26 100644
--- a/include/memory.h
+++ b/include/memory.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MEM_MALLOC_H
#define __MEM_MALLOC_H
diff --git a/include/memtest.h b/include/memtest.h
index 0100a6c58c..df0a391cc3 100644
--- a/include/memtest.h
+++ b/include/memtest.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MEMTEST_H
#define __MEMTEST_H
diff --git a/include/mmu.h b/include/mmu.h
index 66b246f6d2..2e23853df3 100644
--- a/include/mmu.h
+++ b/include/mmu.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MMU_H
#define __MMU_H
diff --git a/include/module.h b/include/module.h
index 460a34fe2b..abf740a789 100644
--- a/include/module.h
+++ b/include/module.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __MODULE_H
#define __MODULE_H
diff --git a/include/nand.h b/include/nand.h
index fb3b5a1088..f0114a227d 100644
--- a/include/nand.h
+++ b/include/nand.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __NAND_H__
#define __NAND_H__
diff --git a/include/notifier.h b/include/notifier.h
index e0df3e666b..432b66c4ca 100644
--- a/include/notifier.h
+++ b/include/notifier.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __NOTIFIER_H
#define __NOTIFIER_H
diff --git a/include/of.h b/include/of.h
index 67601ce80c..8d6c018b73 100644
--- a/include/of.h
+++ b/include/of.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __OF_H
#define __OF_H
diff --git a/include/of_address.h b/include/of_address.h
index 350ecaec82..66117b1fa7 100644
--- a/include/of_address.h
+++ b/include/of_address.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __OF_ADDRESS_H
#define __OF_ADDRESS_H
diff --git a/include/of_device.h b/include/of_device.h
index 54410ad12f..244f5fcbbb 100644
--- a/include/of_device.h
+++ b/include/of_device.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __OF_DEVICE_H
#define __OF_DEVICE_H
diff --git a/include/of_pci.h b/include/of_pci.h
index c95cb0135a..c787150936 100644
--- a/include/of_pci.h
+++ b/include/of_pci.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __OF_PCI_H
#define __OF_PCI_H
diff --git a/include/param.h b/include/param.h
index d75f50ea3e..2d68338bb3 100644
--- a/include/param.h
+++ b/include/param.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef PARAM_H
#define PARAM_H
diff --git a/include/parseopt.h b/include/parseopt.h
index 273a371ac3..5a40bdc219 100644
--- a/include/parseopt.h
+++ b/include/parseopt.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PARSEOPT_H__
#define __PARSEOPT_H__
void parseopt_llu_suffix(const char *options, const char *opt,
diff --git a/include/partition.h b/include/partition.h
index 32570530eb..373134afad 100644
--- a/include/partition.h
+++ b/include/partition.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PARTITION_H
#define __PARTITION_H
diff --git a/include/phy-id-list.h b/include/phy-id-list.h
index a6070a0248..f770c775b8 100644
--- a/include/phy-id-list.h
+++ b/include/phy-id-list.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* List of all Etherenet PHY IDs that is not found in any .h files in
* include/linux
diff --git a/include/pinctrl.h b/include/pinctrl.h
index 7d8716996d..0fd7f49118 100644
--- a/include/pinctrl.h
+++ b/include/pinctrl.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef PINCTRL_H
#define PINCTRL_H
diff --git a/include/poweroff.h b/include/poweroff.h
index ae9557db5d..217b68cdf9 100644
--- a/include/poweroff.h
+++ b/include/poweroff.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __INCLUDE_POWEROFF_H
#define __INCLUDE_POWEROFF_H
diff --git a/include/printk.h b/include/printk.h
index b0d5d09f83..6a027175ab 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PRINTK_H
#define __PRINTK_H
diff --git a/include/progress.h b/include/progress.h
index 5c4dd1e775..75aa9c4f86 100644
--- a/include/progress.h
+++ b/include/progress.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PROGRSS_H
#define __PROGRSS_H
diff --git a/include/pwm.h b/include/pwm.h
index 911c760839..dcc81af867 100644
--- a/include/pwm.h
+++ b/include/pwm.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __PWM_H
#define __PWM_H
diff --git a/include/qsort.h b/include/qsort.h
index d279dc2810..f8d889ea1e 100644
--- a/include/qsort.h
+++ b/include/qsort.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __QSORT_H
#define __QSORT_H
diff --git a/include/ratp.h b/include/ratp.h
index d2a8192357..effa288b42 100644
--- a/include/ratp.h
+++ b/include/ratp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __RATP_H
#define __RATP_H
diff --git a/include/ratp_bb.h b/include/ratp_bb.h
index b6699979b6..a4f28c642c 100644
--- a/include/ratp_bb.h
+++ b/include/ratp_bb.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __RATP_BB_H
#define __RATP_BB_H
diff --git a/include/readkey.h b/include/readkey.h
index ed1cd1542d..fdb96426e0 100644
--- a/include/readkey.h
+++ b/include/readkey.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef READKEY_H
#define READKEY_H
diff --git a/include/regmap.h b/include/regmap.h
index 09b7b57d52..8528f81079 100644
--- a/include/regmap.h
+++ b/include/regmap.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __REGMAP_H
#define __REGMAP_H
diff --git a/include/regulator.h b/include/regulator.h
index a445c5c3d1..d01535df52 100644
--- a/include/regulator.h
+++ b/include/regulator.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __REGULATOR_H
#define __REGULATOR_H
diff --git a/include/restart.h b/include/restart.h
index 79b57c8e11..7ec0910e94 100644
--- a/include/restart.h
+++ b/include/restart.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __INCLUDE_RESTART_H
#define __INCLUDE_RESTART_H
diff --git a/include/serdev.h b/include/serdev.h
index 29030538e5..0d020b8e82 100644
--- a/include/serdev.h
+++ b/include/serdev.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _SERDEV_H_
#define _SERDEV_H_
diff --git a/include/sntp.h b/include/sntp.h
index bfcfcfa8c8..05cad129cd 100644
--- a/include/sntp.h
+++ b/include/sntp.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __SNTP_H
#define __SNTP_H
diff --git a/include/state.h b/include/state.h
index d98b781c20..be1b592576 100644
--- a/include/state.h
+++ b/include/state.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STATE_H
#define __STATE_H
diff --git a/include/stdio.h b/include/stdio.h
index 46e277889d..1cb11e88de 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STDIO_H
#define __STDIO_H
diff --git a/include/stdlib.h b/include/stdlib.h
index ee3f229968..d405608724 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STDLIB_H
#define __STDLIB_H
diff --git a/include/string.h b/include/string.h
index 8c63f22491..120a613d46 100644
--- a/include/string.h
+++ b/include/string.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STRING_H
#define __STRING_H
diff --git a/include/stringlist.h b/include/stringlist.h
index e85500a994..5cd452ca5f 100644
--- a/include/stringlist.h
+++ b/include/stringlist.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __STRINGLIST_H
#define __STRINGLIST_H
diff --git a/include/twl6030_pwrbtn.h b/include/twl6030_pwrbtn.h
index c4e13d1f1d..4c8e166256 100644
--- a/include/twl6030_pwrbtn.h
+++ b/include/twl6030_pwrbtn.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _TWL6030_PWRBTN_H
#define _TWL6030_PWRBTN_H
diff --git a/include/types.h b/include/types.h
index 0bfe3b9a0b..a6739394e0 100644
--- a/include/types.h
+++ b/include/types.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __TYPES_H
#define __TYPES_H
diff --git a/include/ubiformat.h b/include/ubiformat.h
index 8a7a16ac18..eca62ae6db 100644
--- a/include/ubiformat.h
+++ b/include/ubiformat.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __UBIFORMAT_H
#define __UBIFORMAT_H
diff --git a/include/uncompress.h b/include/uncompress.h
index d146c90768..4bdb03d4f5 100644
--- a/include/uncompress.h
+++ b/include/uncompress.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __UNCOMPRESS_H
#define __UNCOMPRESS_H
diff --git a/include/unistd.h b/include/unistd.h
index f392e6dd6c..06ce355809 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __UNISTD_H
#define __UNISTD_H
diff --git a/include/usb_dfu_trailer.h b/include/usb_dfu_trailer.h
index 2cf66a590c..64b8407275 100644
--- a/include/usb_dfu_trailer.h
+++ b/include/usb_dfu_trailer.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef _USB_DFU_TRAILER_H
#define _USB_DFU_TRAILER_H
diff --git a/include/wchar.h b/include/wchar.h
index adb4f373e9..b601cc6207 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __WCHAR_H
#define __WCHAR_H
diff --git a/include/xfuncs.h b/include/xfuncs.h
index e3f120a040..a9132d3787 100644
--- a/include/xfuncs.h
+++ b/include/xfuncs.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef __XFUNCS_H
#define __XFUNCS_H