From: Arnd Bergmann <arnd@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>,
Marc Zyngier <maz@kernel.org>,
Alexander Shiyan <shc_work@mail.ru>,
Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] irqchip: clps711x: remove unused clps711x_intc_init() function
Date: Tue, 16 May 2023 22:05:06 +0200 [thread overview]
Message-ID: <20230516200516.554663-3-arnd@kernel.org> (raw)
In-Reply-To: <20230516200516.554663-1-arnd@kernel.org>
From: Arnd Bergmann <arnd@arndb.de>
This function has no caller or declaration any more:
drivers/irqchip/irq-clps711x.c:215:13: error: no previous prototype for 'clps711x_intc_init'
The #ifdef check around clps711x_intc_init_dt() is also not
needed since the file is only built when that is enabled.
Fixes: 4a56f46a7dc6 ("ARM: clps711x: Remove boards support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/irqchip/irq-clps711x.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/irqchip/irq-clps711x.c b/drivers/irqchip/irq-clps711x.c
index 77ebe7e47e0e..e731e0784f7e 100644
--- a/drivers/irqchip/irq-clps711x.c
+++ b/drivers/irqchip/irq-clps711x.c
@@ -212,12 +212,6 @@ static int __init _clps711x_intc_init(struct device_node *np,
return err;
}
-void __init clps711x_intc_init(phys_addr_t base, resource_size_t size)
-{
- BUG_ON(_clps711x_intc_init(NULL, base, size));
-}
-
-#ifdef CONFIG_IRQCHIP
static int __init clps711x_intc_init_dt(struct device_node *np,
struct device_node *parent)
{
@@ -231,4 +225,3 @@ static int __init clps711x_intc_init_dt(struct device_node *np,
return _clps711x_intc_init(np, res.start, resource_size(&res));
}
IRQCHIP_DECLARE(clps711x, "cirrus,ep7209-intc", clps711x_intc_init_dt);
-#endif
--
2.39.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Arnd Bergmann <arnd@kernel.org>
To: Thomas Gleixner <tglx@linutronix.de>,
Marc Zyngier <maz@kernel.org>,
Alexander Shiyan <shc_work@mail.ru>,
Arnd Bergmann <arnd@arndb.de>
Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] irqchip: clps711x: remove unused clps711x_intc_init() function
Date: Tue, 16 May 2023 22:05:06 +0200 [thread overview]
Message-ID: <20230516200516.554663-3-arnd@kernel.org> (raw)
In-Reply-To: <20230516200516.554663-1-arnd@kernel.org>
From: Arnd Bergmann <arnd@arndb.de>
This function has no caller or declaration any more:
drivers/irqchip/irq-clps711x.c:215:13: error: no previous prototype for 'clps711x_intc_init'
The #ifdef check around clps711x_intc_init_dt() is also not
needed since the file is only built when that is enabled.
Fixes: 4a56f46a7dc6 ("ARM: clps711x: Remove boards support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
drivers/irqchip/irq-clps711x.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/irqchip/irq-clps711x.c b/drivers/irqchip/irq-clps711x.c
index 77ebe7e47e0e..e731e0784f7e 100644
--- a/drivers/irqchip/irq-clps711x.c
+++ b/drivers/irqchip/irq-clps711x.c
@@ -212,12 +212,6 @@ static int __init _clps711x_intc_init(struct device_node *np,
return err;
}
-void __init clps711x_intc_init(phys_addr_t base, resource_size_t size)
-{
- BUG_ON(_clps711x_intc_init(NULL, base, size));
-}
-
-#ifdef CONFIG_IRQCHIP
static int __init clps711x_intc_init_dt(struct device_node *np,
struct device_node *parent)
{
@@ -231,4 +225,3 @@ static int __init clps711x_intc_init_dt(struct device_node *np,
return _clps711x_intc_init(np, res.start, resource_size(&res));
}
IRQCHIP_DECLARE(clps711x, "cirrus,ep7209-intc", clps711x_intc_init_dt);
-#endif
--
2.39.2
next prev parent reply other threads:[~2023-05-16 20:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-16 20:05 [PATCH 1/5] irqchip: ftintc010: mark all function static Arnd Bergmann
2023-05-16 20:05 ` [PATCH 2/5] irqchip: mmp: remove non-DT codepath Arnd Bergmann
2023-06-17 6:39 ` [irqchip: irq/irqchip-next] irqchip/mmp: Remove " irqchip-bot for Arnd Bergmann
2023-05-16 20:05 ` Arnd Bergmann [this message]
2023-05-16 20:05 ` [PATCH 3/5] irqchip: clps711x: remove unused clps711x_intc_init() function Arnd Bergmann
2023-06-17 6:39 ` [irqchip: irq/irqchip-next] irqchip/clps711x: Remove " irqchip-bot for Arnd Bergmann
2023-05-16 20:05 ` [PATCH 4/5] irqchip: mxs: include linux/irqchip/mxs.h Arnd Bergmann
2023-05-16 20:05 ` Arnd Bergmann
2023-05-27 10:39 ` Shawn Guo
2023-05-27 10:39 ` Shawn Guo
2023-06-17 6:39 ` [irqchip: irq/irqchip-next] irqchip/mxs: Include linux/irqchip/mxs.h irqchip-bot for Arnd Bergmann
2023-05-16 20:05 ` [PATCH 5/5] irqchip: gicv3: add a iort_pmsi_get_dev_id() prototype Arnd Bergmann
2023-05-18 13:19 ` Hanjun Guo
2023-06-17 6:39 ` [irqchip: irq/irqchip-next] irqchip/gicv3: Add " irqchip-bot for Arnd Bergmann
2023-05-17 7:06 ` [PATCH 1/5] irqchip: ftintc010: mark all function static Linus Walleij
2023-06-17 6:39 ` [irqchip: irq/irqchip-next] irqchip/ftintc010: Mark " irqchip-bot for Arnd Bergmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230516200516.554663-3-arnd@kernel.org \
--to=arnd@kernel.org \
--cc=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=shc_work@mail.ru \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.