diff mbox series

[08/14] iio: kfifo-buf: Add SPDX header

Message ID 20190622145516.3231-9-jic23@kernel.org (mailing list archive)
State New, archived
Headers show
Series iio: SPDX headers for core + non device driver parts. | expand

Commit Message

Jonathan Cameron June 22, 2019, 2:55 p.m. UTC
From: Jonathan Cameron <Jonathan.Cameron@huawei.com>

Previously no license header, but there is a MODULE_LICENSE
so match that with GPL-2.0+

Header was filled with default GPL-2.0 so update fix that as well.

Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
---
 drivers/iio/buffer/kfifo_buf.c | 1 +
 include/linux/iio/kfifo_buf.h  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/iio/buffer/kfifo_buf.c b/drivers/iio/buffer/kfifo_buf.c
index 70c302a93d7f..041a8d0b9aac 100644
--- a/drivers/iio/buffer/kfifo_buf.c
+++ b/drivers/iio/buffer/kfifo_buf.c
@@ -1,3 +1,4 @@ 
+// SPDX-License-Identifier: GPL-2.0+
 #include <linux/slab.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
diff --git a/include/linux/iio/kfifo_buf.h b/include/linux/iio/kfifo_buf.h
index 764659e01b68..4611bbcc37c3 100644
--- a/include/linux/iio/kfifo_buf.h
+++ b/include/linux/iio/kfifo_buf.h
@@ -1,4 +1,4 @@ 
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0+ */
 #ifndef __LINUX_IIO_KFIFO_BUF_H__
 #define __LINUX_IIO_KFIFO_BUF_H__