rtc: test: make license text and module license match.
Alexandre Belloni
maintainerPATCH 1/2 rtc: test: make license text and module license match.
The license text is specifying GPL v2 only but the MODULE_LICENSE is set to GPL which means GNU Public License v2 or later. When MODULE_LICENSE and boiler plate does not match, go for boiler plate license.
Signed-off-by Alexandre Belloni <[email protected]>
--- drivers/rtc/rtc-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-test.c +1 -1
@@ -197,7 +197,7 @@ static void __exit test_exit(void)MODULE_AUTHOR ("Alessandro Zummo <[email protected]>" );MODULE_DESCRIPTION ("RTC test driver/device" ); -MODULE_LICENSE ("GPL" ); +MODULE_LICENSE ("GPL v2" );module_init (test_init);module_exit (test_exit);
Signature · 1 line
2.19.0
Alexandre Belloni
maintainerPATCH 2/2 rtc: test: Switch to SPDX identifier
Replace the license boilerplate by an SPDX identifier
Signed-off-by Alexandre Belloni <[email protected]>
--- drivers/rtc/rtc-test.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/rtc/rtc-test.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 /* * An RTC test device/driver * Copyright (C) 2005 Tower Technologies * Author: Alessandro Zummo <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 as -* published by the Free Software Foundation. */ #include <linux/module.h>
Signature · 1 line
2.19.0