[PATCH] lib: term: add missing headers, license and copyright

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The file was split off from commands/edit.c, so it should carry same
copyright and license.

Also it depended so far on linux/kernel.h being transitively included,
so let's include the parts that we need directly.

Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>
---
 lib/term.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lib/term.c b/lib/term.c
index 64dd5e430478..97e3360fbb00 100644
--- a/lib/term.c
+++ b/lib/term.c
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-only
+// SPDX-FileCopyrightText: © 2007 Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>, Pengutronix
+
+#include <linux/kstrtox.h>
+#include <linux/minmax.h>
 #include <console.h>
 #include <term.h>
 
-- 
2.39.2





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux