[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165752754001.15455.5272535554101815616.tip-bot2@tip-bot2>
Date: Mon, 11 Jul 2022 08:19:00 -0000
From: "irqchip-bot for Marc Zyngier" <tip-bot2@...utronix.de>
To: linux-kernel@...r.kernel.org
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Marc Zyngier <maz@...nel.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
Linus Walleij <linus.walleij@...aro.org>, tglx@...utronix.de
Subject: [irqchip: irq/irqchip-next] gpio: thunderx: Don't directly include
asm-generic/msi.h
The following commit has been merged into the irq/irqchip-next branch of irqchip:
Commit-ID: 7dc487d27f7fef32a79eacb4159636b0ea425a5b
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/7dc487d27f7fef32a79eacb4159636b0ea425a5b
Author: Marc Zyngier <maz@...nel.org>
AuthorDate: Mon, 11 Jul 2022 08:55:21 +01:00
Committer: Marc Zyngier <maz@...nel.org>
CommitterDate: Mon, 11 Jul 2022 09:15:58 +01:00
gpio: thunderx: Don't directly include asm-generic/msi.h
On architectures that require it, asm-generic/msi.h is already
dragged in by the higher level include files, and is commonly
refered to as 'asm/msi.h'.
It is also architecture specific, and breaks compilation in
a pretty bad way now that linux/gpio/driver.h includes asm/msi.h
(which drags a conflicting but nonetheless correct version
of msi_alloc_info_t on x86).
Reported-by: Stephen Rothwell <sfr@...b.auug.org.au>
Signed-off-by: Marc Zyngier <maz@...nel.org>
Link: https://lore.kernel.org/r/20220711154252.4b88a601@canb.auug.org.au
Link: https://lore.kernel.org/r/20220711081257.132901-1-maz@kernel.org
Fixes: 91a29af413de ("gpio: Remove dynamic allocation from populate_parent_alloc_arg()")
Cc: Bartosz Golaszewski <brgl@...ev.pl>
Cc: Linus Walleij <linus.walleij@...aro.org>
---
drivers/gpio/gpio-thunderx.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/gpio/gpio-thunderx.c b/drivers/gpio/gpio-thunderx.c
index e1dedbc..cc62c6e 100644
--- a/drivers/gpio/gpio-thunderx.c
+++ b/drivers/gpio/gpio-thunderx.c
@@ -15,8 +15,6 @@
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
-#include <asm-generic/msi.h>
-
#define GPIO_RX_DAT 0x0
#define GPIO_TX_SET 0x8
Powered by blists - more mailing lists