kernel: update 4.4 to 4.4.86
[openwrt/openwrt.git] / target / linux / bcm53xx / patches-4.4 / 084-0002-spi-bcm53xx-re-license-code-to-the-GPL-v2.patch
1 From e360e72e715f228e426edf0fc99ffa34027ab0ad Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
3 Date: Thu, 29 Dec 2016 20:13:13 +0100
4 Subject: [PATCH] spi: bcm53xx: (re)license code to the GPL v2
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 My intention was to release this code under GPL v2 license. For some
10 reason my initial commit 0fc6a323e191 ("spi: bcm53xx: driver for SPI
11 controller on Broadcom bcma SoC") totally missed licensing info.
12 MODULE_LICENSE was later added by Axel specifying "GNU Public License
13 v2 or later".
14
15 This patch clarifies situation by adding a proper header (with Copyright
16 line) and adjusting MODULE_LICENSE. It should be acked by every driver
17 contributor.
18
19 Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
20 Acked-by: Nicholas Mc Guire <hofrat@osadl.org>
21 Reviewed-by: Jingoo Han <jingoohan1@gmail.com>
22 Acked-by: Jingoo Han <jingoohan1@gmail.com>
23 Acked-by: Joe Perches <joe@perches.com>
24 Acked-by: Axel Lin <axel.lin@ingics.com>
25 Acked-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
26 Signed-off-by: Mark Brown <broonie@kernel.org>
27 ---
28 drivers/spi/spi-bcm53xx.c | 10 +++++++++-
29 1 file changed, 9 insertions(+), 1 deletion(-)
30
31 --- a/drivers/spi/spi-bcm53xx.c
32 +++ b/drivers/spi/spi-bcm53xx.c
33 @@ -1,3 +1,11 @@
34 +/*
35 + * Copyright (C) 2014-2016 Rafał Miłecki <rafal@milecki.pl>
36 + *
37 + * This program is free software; you can redistribute it and/or modify
38 + * it under the terms of the GNU General Public License version 2 as
39 + * published by the Free Software Foundation.
40 + */
41 +
42 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
43
44 #include <linux/kernel.h>
45 @@ -355,4 +363,4 @@ module_exit(bcm53xxspi_module_exit);
46
47 MODULE_DESCRIPTION("Broadcom BCM53xx SPI Controller driver");
48 MODULE_AUTHOR("Rafał Miłecki <zajec5@gmail.com>");
49 -MODULE_LICENSE("GPL");
50 +MODULE_LICENSE("GPL v2");