diff options
Diffstat (limited to 'drivers/irqchip')
32 files changed, 35 insertions, 221 deletions
diff --git a/drivers/irqchip/exynos-combiner.c b/drivers/irqchip/exynos-combiner.c index b78a169c9c83..0b85d9a3fbff 100644 --- a/drivers/irqchip/exynos-combiner.c +++ b/drivers/irqchip/exynos-combiner.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. | 3 | * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. |
3 | * http://www.samsung.com | 4 | * http://www.samsung.com |
4 | * | 5 | * |
5 | * Combiner irqchip for EXYNOS | 6 | * Combiner irqchip for EXYNOS |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | #include <linux/err.h> | 8 | #include <linux/err.h> |
12 | #include <linux/export.h> | 9 | #include <linux/export.h> |
diff --git a/drivers/irqchip/irq-aspeed-i2c-ic.c b/drivers/irqchip/irq-aspeed-i2c-ic.c index f20200af0992..8d591c179f81 100644 --- a/drivers/irqchip/irq-aspeed-i2c-ic.c +++ b/drivers/irqchip/irq-aspeed-i2c-ic.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Aspeed 24XX/25XX I2C Interrupt Controller. | 3 | * Aspeed 24XX/25XX I2C Interrupt Controller. |
3 | * | 4 | * |
4 | * Copyright (C) 2012-2017 ASPEED Technology Inc. | 5 | * Copyright (C) 2012-2017 ASPEED Technology Inc. |
5 | * Copyright 2017 IBM Corporation | 6 | * Copyright 2017 IBM Corporation |
6 | * Copyright 2017 Google, Inc. | 7 | * Copyright 2017 Google, Inc. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/irq.h> | 10 | #include <linux/irq.h> |
diff --git a/drivers/irqchip/irq-ath79-cpu.c b/drivers/irqchip/irq-ath79-cpu.c index befe93c5a51a..923e4bba3776 100644 --- a/drivers/irqchip/irq-ath79-cpu.c +++ b/drivers/irqchip/irq-ath79-cpu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Atheros AR71xx/AR724x/AR913x specific interrupt handling | 3 | * Atheros AR71xx/AR724x/AR913x specific interrupt handling |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> | 8 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> |
8 | * | 9 | * |
9 | * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP | 10 | * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published | ||
13 | * by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/interrupt.h> | 13 | #include <linux/interrupt.h> |
diff --git a/drivers/irqchip/irq-ath79-misc.c b/drivers/irqchip/irq-ath79-misc.c index 0390603170b4..3d641bb6f3f1 100644 --- a/drivers/irqchip/irq-ath79-misc.c +++ b/drivers/irqchip/irq-ath79-misc.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Atheros AR71xx/AR724x/AR913x MISC interrupt controller | 3 | * Atheros AR71xx/AR724x/AR913x MISC interrupt controller |
3 | * | 4 | * |
@@ -7,10 +8,6 @@ | |||
7 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> | 8 | * Copyright (C) 2008 Imre Kaloz <kaloz@openwrt.org> |
8 | * | 9 | * |
9 | * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP | 10 | * Parts of this file are based on Atheros' 2.6.15/2.6.31 BSP |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published | ||
13 | * by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #include <linux/irqchip.h> | 13 | #include <linux/irqchip.h> |
diff --git a/drivers/irqchip/irq-bcm6345-l1.c b/drivers/irqchip/irq-bcm6345-l1.c index 43f8abe40878..e3483789f4df 100644 --- a/drivers/irqchip/irq-bcm6345-l1.c +++ b/drivers/irqchip/irq-bcm6345-l1.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Broadcom BCM6345 style Level 1 interrupt controller driver | 3 | * Broadcom BCM6345 style Level 1 interrupt controller driver |
3 | * | 4 | * |
4 | * Copyright (C) 2014 Broadcom Corporation | 5 | * Copyright (C) 2014 Broadcom Corporation |
5 | * Copyright 2015 Simon Arlott | 6 | * Copyright 2015 Simon Arlott |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * This is based on the BCM7038 (which supports SMP) but with a single | 8 | * This is based on the BCM7038 (which supports SMP) but with a single |
12 | * enable register instead of separate mask/set/clear registers. | 9 | * enable register instead of separate mask/set/clear registers. |
13 | * | 10 | * |
diff --git a/drivers/irqchip/irq-bcm7038-l1.c b/drivers/irqchip/irq-bcm7038-l1.c index 0acebac1920b..fc75c61233aa 100644 --- a/drivers/irqchip/irq-bcm7038-l1.c +++ b/drivers/irqchip/irq-bcm7038-l1.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Broadcom BCM7038 style Level 1 interrupt controller driver | 3 | * Broadcom BCM7038 style Level 1 interrupt controller driver |
3 | * | 4 | * |
4 | * Copyright (C) 2014 Broadcom Corporation | 5 | * Copyright (C) 2014 Broadcom Corporation |
5 | * Author: Kevin Cernekee | 6 | * Author: Kevin Cernekee |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | 8 | ||
12 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/irqchip/irq-bcm7120-l2.c b/drivers/irqchip/irq-bcm7120-l2.c index 541bdca9f4af..586df3587be0 100644 --- a/drivers/irqchip/irq-bcm7120-l2.c +++ b/drivers/irqchip/irq-bcm7120-l2.c | |||
@@ -1,11 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Broadcom BCM7120 style Level 2 interrupt controller driver | 3 | * Broadcom BCM7120 style Level 2 interrupt controller driver |
3 | * | 4 | * |
4 | * Copyright (C) 2014 Broadcom Corporation | 5 | * Copyright (C) 2014 Broadcom Corporation |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | */ | 6 | */ |
10 | 7 | ||
11 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 8 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/irqchip/irq-crossbar.c b/drivers/irqchip/irq-crossbar.c index 99d97d7e3fd7..a05a7501e107 100644 --- a/drivers/irqchip/irq-crossbar.c +++ b/drivers/irqchip/irq-crossbar.c | |||
@@ -1,13 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/irqchip/irq-crossbar.c | 3 | * drivers/irqchip/irq-crossbar.c |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com | 5 | * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com |
5 | * Author: Sricharan R <r.sricharan@ti.com> | 6 | * Author: Sricharan R <r.sricharan@ti.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | */ | 7 | */ |
12 | #include <linux/err.h> | 8 | #include <linux/err.h> |
13 | #include <linux/io.h> | 9 | #include <linux/io.h> |
diff --git a/drivers/irqchip/irq-gic-common.c b/drivers/irqchip/irq-gic-common.c index 3c93c6f4d1f1..b0a8215a13fc 100644 --- a/drivers/irqchip/irq-gic-common.c +++ b/drivers/irqchip/irq-gic-common.c | |||
@@ -1,17 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | 4 | */ |
16 | 5 | ||
17 | #include <linux/interrupt.h> | 6 | #include <linux/interrupt.h> |
diff --git a/drivers/irqchip/irq-gic-common.h b/drivers/irqchip/irq-gic-common.h index 97e58fb6c232..5a46b6b57750 100644 --- a/drivers/irqchip/irq-gic-common.h +++ b/drivers/irqchip/irq-gic-common.h | |||
@@ -1,17 +1,6 @@ | |||
1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | 4 | */ |
16 | 5 | ||
17 | #ifndef _IRQ_GIC_COMMON_H | 6 | #ifndef _IRQ_GIC_COMMON_H |
diff --git a/drivers/irqchip/irq-gic-pm.c b/drivers/irqchip/irq-gic-pm.c index c4aac0977d8a..1337ceceb59b 100644 --- a/drivers/irqchip/irq-gic-pm.c +++ b/drivers/irqchip/irq-gic-pm.c | |||
@@ -1,17 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2016 NVIDIA CORPORATION, All Rights Reserved. | 3 | * Copyright (C) 2016 NVIDIA CORPORATION, All Rights Reserved. |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * This program is distributed in the hope that it will be useful, | ||
9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
11 | * GNU General Public License for more details. | ||
12 | * | ||
13 | * You should have received a copy of the GNU General Public License | ||
14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
15 | */ | 4 | */ |
16 | #include <linux/module.h> | 5 | #include <linux/module.h> |
17 | #include <linux/clk.h> | 6 | #include <linux/clk.h> |
diff --git a/drivers/irqchip/irq-gic-v2m.c b/drivers/irqchip/irq-gic-v2m.c index 3c77ab676e54..875ac80f690b 100644 --- a/drivers/irqchip/irq-gic-v2m.c +++ b/drivers/irqchip/irq-gic-v2m.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * ARM GIC v2m MSI(-X) support | 3 | * ARM GIC v2m MSI(-X) support |
3 | * Support for Message Signaled Interrupts for systems that | 4 | * Support for Message Signaled Interrupts for systems that |
@@ -7,10 +8,6 @@ | |||
7 | * Authors: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 8 | * Authors: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> |
8 | * Harish Kasiviswanathan <harish.kasiviswanathan@amd.com> | 9 | * Harish Kasiviswanathan <harish.kasiviswanathan@amd.com> |
9 | * Brandon Anderson <brandon.anderson@amd.com> | 10 | * Brandon Anderson <brandon.anderson@amd.com> |
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify it | ||
12 | * under the terms of the GNU General Public License version 2 as published | ||
13 | * by the Free Software Foundation. | ||
14 | */ | 11 | */ |
15 | 12 | ||
16 | #define pr_fmt(fmt) "GICv2m: " fmt | 13 | #define pr_fmt(fmt) "GICv2m: " fmt |
diff --git a/drivers/irqchip/irq-gic-v3-its-pci-msi.c b/drivers/irqchip/irq-gic-v3-its-pci-msi.c index c81d5b81da56..229d586c3d7a 100644 --- a/drivers/irqchip/irq-gic-v3-its-pci-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-pci-msi.c | |||
@@ -1,18 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved. |
3 | * Author: Marc Zyngier <marc.zyngier@arm.com> | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | 5 | */ |
17 | 6 | ||
18 | #include <linux/acpi_iort.h> | 7 | #include <linux/acpi_iort.h> |
diff --git a/drivers/irqchip/irq-gic-v3-its-platform-msi.c b/drivers/irqchip/irq-gic-v3-its-platform-msi.c index 9cdcda5bb3bd..daa6d5053bc3 100644 --- a/drivers/irqchip/irq-gic-v3-its-platform-msi.c +++ b/drivers/irqchip/irq-gic-v3-its-platform-msi.c | |||
@@ -1,18 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2013-2015 ARM Limited, All Rights Reserved. |
3 | * Author: Marc Zyngier <marc.zyngier@arm.com> | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | 5 | */ |
17 | 6 | ||
18 | #include <linux/acpi_iort.h> | 7 | #include <linux/acpi_iort.h> |
diff --git a/drivers/irqchip/irq-gic-v3-its.c b/drivers/irqchip/irq-gic-v3-its.c index cfb9b4e5f914..d29b44b677e4 100644 --- a/drivers/irqchip/irq-gic-v3-its.c +++ b/drivers/irqchip/irq-gic-v3-its.c | |||
@@ -1,18 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013-2017 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2013-2017 ARM Limited, All Rights Reserved. |
3 | * Author: Marc Zyngier <marc.zyngier@arm.com> | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | 5 | */ |
17 | 6 | ||
18 | #include <linux/acpi.h> | 7 | #include <linux/acpi.h> |
diff --git a/drivers/irqchip/irq-gic-v3.c b/drivers/irqchip/irq-gic-v3.c index f44cd89cfc40..6377cb864f4c 100644 --- a/drivers/irqchip/irq-gic-v3.c +++ b/drivers/irqchip/irq-gic-v3.c | |||
@@ -1,18 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2013-2017 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2013-2017 ARM Limited, All Rights Reserved. |
3 | * Author: Marc Zyngier <marc.zyngier@arm.com> | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | 5 | */ |
17 | 6 | ||
18 | #define pr_fmt(fmt) "GICv3: " fmt | 7 | #define pr_fmt(fmt) "GICv3: " fmt |
diff --git a/drivers/irqchip/irq-gic-v4.c b/drivers/irqchip/irq-gic-v4.c index dba9d67cb9c1..563e87ed0766 100644 --- a/drivers/irqchip/irq-gic-v4.c +++ b/drivers/irqchip/irq-gic-v4.c | |||
@@ -1,18 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2016,2017 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2016,2017 ARM Limited, All Rights Reserved. |
3 | * Author: Marc Zyngier <marc.zyngier@arm.com> | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | 5 | */ |
17 | 6 | ||
18 | #include <linux/interrupt.h> | 7 | #include <linux/interrupt.h> |
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c index c6dbe5018972..e45f45e68720 100644 --- a/drivers/irqchip/irq-gic.c +++ b/drivers/irqchip/irq-gic.c | |||
@@ -1,10 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2002 ARM Limited, All Rights Reserved. |
3 | * | 4 | * |
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | * | ||
8 | * Interrupt architecture for the GIC: | 5 | * Interrupt architecture for the GIC: |
9 | * | 6 | * |
10 | * o There is one Interrupt Distributor, which receives interrupts | 7 | * o There is one Interrupt Distributor, which receives interrupts |
diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c index 5b4fd2f4e5f8..cf705827599c 100644 --- a/drivers/irqchip/irq-hip04.c +++ b/drivers/irqchip/irq-hip04.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Hisilicon HiP04 INTC | 3 | * Hisilicon HiP04 INTC |
3 | * | 4 | * |
@@ -5,10 +6,6 @@ | |||
5 | * Copyright (c) 2013-2014 Hisilicon Ltd. | 6 | * Copyright (c) 2013-2014 Hisilicon Ltd. |
6 | * Copyright (c) 2013-2014 Linaro Ltd. | 7 | * Copyright (c) 2013-2014 Linaro Ltd. |
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | * | ||
12 | * Interrupt architecture for the HIP04 INTC: | 9 | * Interrupt architecture for the HIP04 INTC: |
13 | * | 10 | * |
14 | * o There is one Interrupt Distributor, which receives interrupts | 11 | * o There is one Interrupt Distributor, which receives interrupts |
diff --git a/drivers/irqchip/irq-imx-gpcv2.c b/drivers/irqchip/irq-imx-gpcv2.c index 66501ea4fd75..bf2237ac5d09 100644 --- a/drivers/irqchip/irq-imx-gpcv2.c +++ b/drivers/irqchip/irq-imx-gpcv2.c | |||
@@ -1,9 +1,6 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Freescale Semiconductor, Inc. | 3 | * Copyright (C) 2015 Freescale Semiconductor, Inc. |
3 | * | ||
4 | * This program is free software; you can redistribute it and/or modify | ||
5 | * it under the terms of the GNU General Public License version 2 as | ||
6 | * published by the Free Software Foundation. | ||
7 | */ | 4 | */ |
8 | 5 | ||
9 | #include <linux/of_address.h> | 6 | #include <linux/of_address.h> |
diff --git a/drivers/irqchip/irq-ixp4xx.c b/drivers/irqchip/irq-ixp4xx.c index d576809429ac..6751c35b7e1d 100644 --- a/drivers/irqchip/irq-ixp4xx.c +++ b/drivers/irqchip/irq-ixp4xx.c | |||
@@ -252,10 +252,10 @@ static const struct ixp4xx_irq_chunk ixp4xx_irq_chunks[] = { | |||
252 | * @fwnode: Corresponding fwnode abstraction for this controller | 252 | * @fwnode: Corresponding fwnode abstraction for this controller |
253 | * @is_356: if this is an IXP43x, IXP45x or IXP46x SoC variant | 253 | * @is_356: if this is an IXP43x, IXP45x or IXP46x SoC variant |
254 | */ | 254 | */ |
255 | static int ixp4xx_irq_setup(struct ixp4xx_irq *ixi, | 255 | static int __init ixp4xx_irq_setup(struct ixp4xx_irq *ixi, |
256 | void __iomem *irqbase, | 256 | void __iomem *irqbase, |
257 | struct fwnode_handle *fwnode, | 257 | struct fwnode_handle *fwnode, |
258 | bool is_356) | 258 | bool is_356) |
259 | { | 259 | { |
260 | int nr_irqs; | 260 | int nr_irqs; |
261 | 261 | ||
diff --git a/drivers/irqchip/irq-ls-scfg-msi.c b/drivers/irqchip/irq-ls-scfg-msi.c index 669d29105772..61dbfda08527 100644 --- a/drivers/irqchip/irq-ls-scfg-msi.c +++ b/drivers/irqchip/irq-ls-scfg-msi.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Freescale SCFG MSI(-X) support | 3 | * Freescale SCFG MSI(-X) support |
3 | * | 4 | * |
4 | * Copyright (C) 2016 Freescale Semiconductor. | 5 | * Copyright (C) 2016 Freescale Semiconductor. |
5 | * | 6 | * |
6 | * Author: Minghuan Lian <Minghuan.Lian@nxp.com> | 7 | * Author: Minghuan Lian <Minghuan.Lian@nxp.com> |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <linux/kernel.h> | 10 | #include <linux/kernel.h> |
diff --git a/drivers/irqchip/irq-mbigen.c b/drivers/irqchip/irq-mbigen.c index 98b6e1d4b1a6..a89c693d5b90 100644 --- a/drivers/irqchip/irq-mbigen.c +++ b/drivers/irqchip/irq-mbigen.c | |||
@@ -1,19 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Hisilicon Limited, All Rights Reserved. | 3 | * Copyright (C) 2015 Hisilicon Limited, All Rights Reserved. |
3 | * Author: Jun Ma <majun258@huawei.com> | 4 | * Author: Jun Ma <majun258@huawei.com> |
4 | * Author: Yun Wu <wuyun.wu@huawei.com> | 5 | * Author: Yun Wu <wuyun.wu@huawei.com> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2 as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | * This program is distributed in the hope that it will be useful, | ||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
13 | * GNU General Public License for more details. | ||
14 | * | ||
15 | * You should have received a copy of the GNU General Public License | ||
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
17 | */ | 6 | */ |
18 | 7 | ||
19 | #include <linux/acpi.h> | 8 | #include <linux/acpi.h> |
diff --git a/drivers/irqchip/irq-meson-gpio.c b/drivers/irqchip/irq-meson-gpio.c index 7b531fd075b8..8eb92eb98f54 100644 --- a/drivers/irqchip/irq-meson-gpio.c +++ b/drivers/irqchip/irq-meson-gpio.c | |||
@@ -1,22 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (c) 2015 Endless Mobile, Inc. | 3 | * Copyright (c) 2015 Endless Mobile, Inc. |
3 | * Author: Carlo Caione <carlo@endlessm.com> | 4 | * Author: Carlo Caione <carlo@endlessm.com> |
4 | * Copyright (c) 2016 BayLibre, SAS. | 5 | * Copyright (c) 2016 BayLibre, SAS. |
5 | * Author: Jerome Brunet <jbrunet@baylibre.com> | 6 | * Author: Jerome Brunet <jbrunet@baylibre.com> |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of version 2 of the GNU General Public License as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, but | ||
12 | * WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
14 | * General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, see <http://www.gnu.org/licenses/>. | ||
18 | * The full GNU General Public License is included in this distribution | ||
19 | * in the file called COPYING. | ||
20 | */ | 7 | */ |
21 | 8 | ||
22 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 9 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c index 8eed478f3b7e..14618dc0bd39 100644 --- a/drivers/irqchip/irq-mmp.c +++ b/drivers/irqchip/irq-mmp.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/arch/arm/mach-mmp/irq.c | 3 | * linux/arch/arm/mach-mmp/irq.c |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * | 7 | * |
7 | * Author: Bin Yang <bin.yang@marvell.com> | 8 | * Author: Bin Yang <bin.yang@marvell.com> |
8 | * Haojian Zhuang <haojian.zhuang@gmail.com> | 9 | * Haojian Zhuang <haojian.zhuang@gmail.com> |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/module.h> | 12 | #include <linux/module.h> |
diff --git a/drivers/irqchip/irq-nvic.c b/drivers/irqchip/irq-nvic.c index b1777104fd9f..a166d30deea2 100644 --- a/drivers/irqchip/irq-nvic.c +++ b/drivers/irqchip/irq-nvic.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * drivers/irq/irq-nvic.c | 3 | * drivers/irq/irq-nvic.c |
3 | * | 4 | * |
4 | * Copyright (C) 2008 ARM Limited, All Rights Reserved. | 5 | * Copyright (C) 2008 ARM Limited, All Rights Reserved. |
5 | * Copyright (C) 2013 Pengutronix | 6 | * Copyright (C) 2013 Pengutronix |
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | * | ||
11 | * Support for the Nested Vectored Interrupt Controller found on the | 8 | * Support for the Nested Vectored Interrupt Controller found on the |
12 | * ARMv7-M CPUs (Cortex-M3/M4) | 9 | * ARMv7-M CPUs (Cortex-M3/M4) |
13 | */ | 10 | */ |
diff --git a/drivers/irqchip/irq-partition-percpu.c b/drivers/irqchip/irq-partition-percpu.c index 1f7cc5933cd5..0c4c8ed7064e 100644 --- a/drivers/irqchip/irq-partition-percpu.c +++ b/drivers/irqchip/irq-partition-percpu.c | |||
@@ -1,18 +1,7 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2016 ARM Limited, All Rights Reserved. | 3 | * Copyright (C) 2016 ARM Limited, All Rights Reserved. |
3 | * Author: Marc Zyngier <marc.zyngier@arm.com> | 4 | * Author: Marc Zyngier <marc.zyngier@arm.com> |
4 | * | ||
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * This program is distributed in the hope that it will be useful, | ||
10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | * GNU General Public License for more details. | ||
13 | * | ||
14 | * You should have received a copy of the GNU General Public License | ||
15 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
16 | */ | 5 | */ |
17 | 6 | ||
18 | #include <linux/bitops.h> | 7 | #include <linux/bitops.h> |
diff --git a/drivers/irqchip/irq-sa11x0.c b/drivers/irqchip/irq-sa11x0.c index 61bb28d7b19b..dbccc7dafbf8 100644 --- a/drivers/irqchip/irq-sa11x0.c +++ b/drivers/irqchip/irq-sa11x0.c | |||
@@ -1,12 +1,9 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2015 Dmitry Eremin-Solenikov | 3 | * Copyright (C) 2015 Dmitry Eremin-Solenikov |
3 | * Copyright (C) 1999-2001 Nicolas Pitre | 4 | * Copyright (C) 1999-2001 Nicolas Pitre |
4 | * | 5 | * |
5 | * Generic IRQ handling for the SA11x0. | 6 | * Generic IRQ handling for the SA11x0. |
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | 7 | */ |
11 | #include <linux/init.h> | 8 | #include <linux/init.h> |
12 | #include <linux/module.h> | 9 | #include <linux/module.h> |
diff --git a/drivers/irqchip/irq-sni-exiu.c b/drivers/irqchip/irq-sni-exiu.c index 1927b2f36ff6..4e983bc6cf93 100644 --- a/drivers/irqchip/irq-sni-exiu.c +++ b/drivers/irqchip/irq-sni-exiu.c | |||
@@ -1,3 +1,4 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Driver for Socionext External Interrupt Unit (EXIU) | 3 | * Driver for Socionext External Interrupt Unit (EXIU) |
3 | * | 4 | * |
@@ -6,10 +7,6 @@ | |||
6 | * Based on irq-tegra.c: | 7 | * Based on irq-tegra.c: |
7 | * Copyright (C) 2011 Google, Inc. | 8 | * Copyright (C) 2011 Google, Inc. |
8 | * Copyright (C) 2010,2013, NVIDIA Corporation | 9 | * Copyright (C) 2010,2013, NVIDIA Corporation |
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify | ||
11 | * it under the terms of the GNU General Public License version 2 as | ||
12 | * published by the Free Software Foundation. | ||
13 | */ | 10 | */ |
14 | 11 | ||
15 | #include <linux/interrupt.h> | 12 | #include <linux/interrupt.h> |
diff --git a/drivers/irqchip/irq-st.c b/drivers/irqchip/irq-st.c index 5e0e250db0be..801551e46a7b 100644 --- a/drivers/irqchip/irq-st.c +++ b/drivers/irqchip/irq-st.c | |||
@@ -1,13 +1,10 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2014 STMicroelectronics – All Rights Reserved | 3 | * Copyright (C) 2014 STMicroelectronics – All Rights Reserved |
3 | * | 4 | * |
4 | * Author: Lee Jones <lee.jones@linaro.org> | 5 | * Author: Lee Jones <lee.jones@linaro.org> |
5 | * | 6 | * |
6 | * This is a re-write of Christophe Kerello's PMU driver. | 7 | * This is a re-write of Christophe Kerello's PMU driver. |
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License version 2 as | ||
10 | * published by the Free Software Foundation. | ||
11 | */ | 8 | */ |
12 | 9 | ||
13 | #include <dt-bindings/interrupt-controller/irq-st.h> | 10 | #include <dt-bindings/interrupt-controller/irq-st.h> |
diff --git a/drivers/irqchip/irq-vf610-mscm-ir.c b/drivers/irqchip/irq-vf610-mscm-ir.c index 56b5e3cb9de2..2b9a8ba58e26 100644 --- a/drivers/irqchip/irq-vf610-mscm-ir.c +++ b/drivers/irqchip/irq-vf610-mscm-ir.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * Copyright (C) 2014-2015 Toradex AG | 3 | * Copyright (C) 2014-2015 Toradex AG |
3 | * Author: Stefan Agner <stefan@agner.ch> | 4 | * Author: Stefan Agner <stefan@agner.ch> |
4 | * | 5 | * |
5 | * This program is free software; you can redistribute it and/or modify | ||
6 | * it under the terms of the GNU General Public License version 2 as | ||
7 | * published by the Free Software Foundation. | ||
8 | * | ||
9 | * | ||
10 | * IRQ chip driver for MSCM interrupt router available on Vybrid SoC's. | 6 | * IRQ chip driver for MSCM interrupt router available on Vybrid SoC's. |
11 | * The interrupt router is between the CPU's interrupt controller and the | 7 | * The interrupt router is between the CPU's interrupt controller and the |
12 | * peripheral. The router allows to route the peripheral interrupts to | 8 | * peripheral. The router allows to route the peripheral interrupts to |
diff --git a/drivers/irqchip/irq-zevio.c b/drivers/irqchip/irq-zevio.c index cb9d8ec37507..5a7efeb3892d 100644 --- a/drivers/irqchip/irq-zevio.c +++ b/drivers/irqchip/irq-zevio.c | |||
@@ -1,12 +1,8 @@ | |||
1 | // SPDX-License-Identifier: GPL-2.0-only | ||
1 | /* | 2 | /* |
2 | * linux/drivers/irqchip/irq-zevio.c | 3 | * linux/drivers/irqchip/irq-zevio.c |
3 | * | 4 | * |
4 | * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> | 5 | * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> |
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License version 2, as | ||
8 | * published by the Free Software Foundation. | ||
9 | * | ||
10 | */ | 6 | */ |
11 | 7 | ||
12 | #include <linux/io.h> | 8 | #include <linux/io.h> |