084-0002-spi-bcm53xx-re-license-code-to-the-GPL-v2.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. My intention was to release this code under GPL v2 license. For some
  9. reason my initial commit 0fc6a323e191 ("spi: bcm53xx: driver for SPI
  10. controller on Broadcom bcma SoC") totally missed licensing info.
  11. MODULE_LICENSE was later added by Axel specifying "GNU Public License
  12. v2 or later".
  13. This patch clarifies situation by adding a proper header (with Copyright
  14. line) and adjusting MODULE_LICENSE. It should be acked by every driver
  15. contributor.
  16. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
  17. Acked-by: Nicholas Mc Guire <hofrat@osadl.org>
  18. Reviewed-by: Jingoo Han <jingoohan1@gmail.com>
  19. Acked-by: Jingoo Han <jingoohan1@gmail.com>
  20. Acked-by: Joe Perches <joe@perches.com>
  21. Acked-by: Axel Lin <axel.lin@ingics.com>
  22. Acked-by: Vaishali Thakkar <vaishali.thakkar@oracle.com>
  23. Signed-off-by: Mark Brown <broonie@kernel.org>
  24. ---
  25. drivers/spi/spi-bcm53xx.c | 10 +++++++++-
  26. 1 file changed, 9 insertions(+), 1 deletion(-)
  27. --- a/drivers/spi/spi-bcm53xx.c
  28. +++ b/drivers/spi/spi-bcm53xx.c
  29. @@ -1,3 +1,11 @@
  30. +/*
  31. + * Copyright (C) 2014-2016 Rafał Miłecki <rafal@milecki.pl>
  32. + *
  33. + * This program is free software; you can redistribute it and/or modify
  34. + * it under the terms of the GNU General Public License version 2 as
  35. + * published by the Free Software Foundation.
  36. + */
  37. +
  38. #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
  39. #include <linux/kernel.h>
  40. @@ -355,4 +363,4 @@ module_exit(bcm53xxspi_module_exit);
  41. MODULE_DESCRIPTION("Broadcom BCM53xx SPI Controller driver");
  42. MODULE_AUTHOR("Rafał Miłecki <zajec5@gmail.com>");
  43. -MODULE_LICENSE("GPL");
  44. +MODULE_LICENSE("GPL v2");