brcm63xx: rename target to bcm63xx
[openwrt/staging/stintel.git] / target / linux / brcm2708 / patches-4.19 / 950-0717-pinctrl-bcm2835-Switch-to-SPDX-identifier.patch
1 From e60428993b9ba03e2389eeb61c4b5efaa80b9e05 Mon Sep 17 00:00:00 2001
2 From: Stefan Wahren <stefan.wahren@i2se.com>
3 Date: Sat, 10 Nov 2018 17:15:11 +0100
4 Subject: [PATCH] pinctrl: bcm2835: Switch to SPDX identifier
5
6 commit a62c36775ba873611b00b82ce7ebcd4ff2126111 upstream.
7
8 Adopt the SPDX license identifier headers to ease license compliance
9 management.
10
11 Cc: Simon Arlott <simon@arlott.org>
12 Cc: Stephen Warren <swarren@wwwdotorg.org>
13 Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
14 Reviewed-by: Eric Anholt <eric@anholt.net>
15 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
16 ---
17 drivers/pinctrl/bcm/pinctrl-bcm2835.c | 11 +----------
18 include/dt-bindings/pinctrl/bcm2835.h | 8 +-------
19 2 files changed, 2 insertions(+), 17 deletions(-)
20
21 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c
22 +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c
23 @@ -1,3 +1,4 @@
24 +// SPDX-License-Identifier: GPL-2.0+
25 /*
26 * Driver for Broadcom BCM2835 GPIO unit (pinctrl + GPIO)
27 *
28 @@ -6,16 +7,6 @@
29 * This driver is inspired by:
30 * pinctrl-nomadik.c, please see original file for copyright information
31 * pinctrl-tegra.c, please see original file for copyright information
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 as published by
35 - * the Free Software Foundation; either version 2 of the License, or
36 - * (at your option) any later version.
37 - *
38 - * This program is distributed in the hope that it will be useful,
39 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
40 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
41 - * GNU General Public License for more details.
42 */
43
44 #include <linux/bitmap.h>
45 --- a/include/dt-bindings/pinctrl/bcm2835.h
46 +++ b/include/dt-bindings/pinctrl/bcm2835.h
47 @@ -1,14 +1,8 @@
48 +/* SPDX-License-Identifier: GPL-2.0 */
49 /*
50 * Header providing constants for bcm2835 pinctrl bindings.
51 *
52 * Copyright (C) 2015 Stefan Wahren <stefan.wahren@i2se.com>
53 - *
54 - * The code contained herein is licensed under the GNU General Public
55 - * License. You may obtain a copy of the GNU General Public License
56 - * Version 2 at the following locations:
57 - *
58 - * http://www.opensource.org/licenses/gpl-license.html
59 - * http://www.gnu.org/copyleft/gpl.html
60 */
61
62 #ifndef __DT_BINDINGS_PINCTRL_BCM2835_H__