* [PATCH 0/7] OF init section function prototype fixes
@ 2014-05-13 0:29 Rob Herring
2014-05-13 0:29 ` [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE Rob Herring
` (6 more replies)
0 siblings, 7 replies; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
This series fixes the function prototypes of various OF initiaiization
callback functions. I found these when adding type checking. I intend to
merge this thru the DT tree with the series that adds the type
checking[1].
Rob
[1] https://lkml.org/lkml/2014/5/8/667
Rob Herring (7):
ARM: imx: fix function type for CLK_OF_DECLARE
clk: rockchip: fix function type for CLK_OF_DECLARE
clk: sunxi: avoid double DT matching
clk: sunxi: fix function type for CLK_OF_DECLARE
irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE
irqchip: mxs: fix function type for IRQCHIP_OF_DECLARE
clk: ti: add missing semi-colon on CLK_OF_DECLARE
arch/arm/mach-imx/clk-imx35.c | 4 +---
drivers/clk/rockchip/clk-rockchip.c | 3 +--
drivers/clk/sunxi/clk-sunxi.c | 5 ++---
drivers/clk/ti/gate.c | 2 +-
drivers/irqchip/irq-mxs.c | 4 ++--
drivers/irqchip/irq-s3c24xx.c | 6 ++----
6 files changed, 9 insertions(+), 15 deletions(-)
--
1.9.1
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
2014-05-13 2:10 ` Shawn Guo
2014-05-13 0:29 ` [PATCH 2/7] clk: rockchip: " Rob Herring
` (5 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
Adding function type checking to CLK_OF_DECLARE found a type mismatch with
mx35_clocks_init_dt. The function should return void.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Shawn Guo <shawn.guo@freescale.com>
Cc: Sascha Hauer <kernel@pengutronix.de>
---
arch/arm/mach-imx/clk-imx35.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx35.c b/arch/arm/mach-imx/clk-imx35.c
index a4d5e42..71c86a2 100644
--- a/arch/arm/mach-imx/clk-imx35.c
+++ b/arch/arm/mach-imx/clk-imx35.c
@@ -289,14 +289,12 @@ int __init mx35_clocks_init(void)
return 0;
}
-static int __init mx35_clocks_init_dt(struct device_node *ccm_node)
+static void __init mx35_clocks_init_dt(struct device_node *ccm_node)
{
clk_data.clks = clk;
clk_data.clk_num = ARRAY_SIZE(clk);
of_clk_add_provider(ccm_node, of_clk_src_onecell_get, &clk_data);
mx35_clocks_init();
-
- return 0;
}
CLK_OF_DECLARE(imx35, "fsl,imx35-ccm", mx35_clocks_init_dt);
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 2/7] clk: rockchip: fix function type for CLK_OF_DECLARE
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
2014-05-13 0:29 ` [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
2014-05-13 0:29 ` [PATCH 3/7] clk: sunxi: avoid double DT matching Rob Herring
` (4 subsequent siblings)
6 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
Adding function type checking to CLK_OF_DECLARE found a type mismatch with
rk2928_gate_clk_init. The function only takes a single struct device_node
parameter.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Mike Turquette <mturquette@linaro.org>
---
drivers/clk/rockchip/clk-rockchip.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clk/rockchip/clk-rockchip.c b/drivers/clk/rockchip/clk-rockchip.c
index 967c141..4cf838d5 100644
--- a/drivers/clk/rockchip/clk-rockchip.c
+++ b/drivers/clk/rockchip/clk-rockchip.c
@@ -24,8 +24,7 @@ static DEFINE_SPINLOCK(clk_lock);
* Gate clocks
*/
-static void __init rk2928_gate_clk_init(struct device_node *node,
- void *data)
+static void __init rk2928_gate_clk_init(struct device_node *node)
{
struct clk_onecell_data *clk_data;
const char *clk_parent;
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 3/7] clk: sunxi: avoid double DT matching
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
2014-05-13 0:29 ` [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE Rob Herring
2014-05-13 0:29 ` [PATCH 2/7] clk: rockchip: " Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
2014-05-13 15:12 ` Rob Herring
2014-05-13 0:29 ` [PATCH 4/7] clk: sunxi: fix function type for CLK_OF_DECLARE Rob Herring
` (3 subsequent siblings)
6 siblings, 1 reply; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
Use for_each_matching_node_and_match instead of for_each_matching_node plus
of_match_node to avoid searching the DT twice for each node.
The sunxi DT scanning code should really be re-worked rather than have
its own private matching infrastructure. It is working around needing a
function pointer and a data pointer for each compatible match.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: "Emilio L?pez" <emilio@elopez.com.ar>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
---
drivers/clk/sunxi/clk-sunxi.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index bd7dc73..7977106 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -1278,8 +1278,7 @@ static void __init of_sunxi_table_clock_setup(const struct of_device_id *clk_mat
const struct of_device_id *match;
void (*setup_function)(struct device_node *, const void *) = function;
- for_each_matching_node(np, clk_match) {
- match = of_match_node(clk_match, np);
+ for_each_matching_node_and_match(np, clk_match, match) {
data = match->data;
setup_function(np, data);
}
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 4/7] clk: sunxi: fix function type for CLK_OF_DECLARE
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
` (2 preceding siblings ...)
2014-05-13 0:29 ` [PATCH 3/7] clk: sunxi: avoid double DT matching Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
2014-05-13 0:29 ` [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE Rob Herring
` (2 subsequent siblings)
6 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
Adding function type checking to CLK_OF_DECLARE found a type mismatch with
sunxi_init_clocks. The function takes a single struct device_node
parameter.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Mike Turquette <mturquette@linaro.org>
Cc: "Emilio L?pez" <emilio@elopez.com.ar>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
---
drivers/clk/sunxi/clk-sunxi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index 7977106..792773d 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -1309,7 +1309,7 @@ static void __init sunxi_clock_protect(void)
}
}
-static void __init sunxi_init_clocks(void)
+static void __init sunxi_init_clocks(struct device_node *np)
{
/* Register factor clocks */
of_sunxi_table_clock_setup(clk_factors_match, sunxi_factors_clk_setup);
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
` (3 preceding siblings ...)
2014-05-13 0:29 ` [PATCH 4/7] clk: sunxi: fix function type for CLK_OF_DECLARE Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
2014-05-13 15:22 ` Jason Cooper
2014-05-13 0:29 ` [PATCH 6/7] irqchip: mxs: " Rob Herring
2014-05-13 0:29 ` [PATCH 7/7] clk: ti: add missing semi-colon on CLK_OF_DECLARE Rob Herring
6 siblings, 1 reply; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
with s3c2410_init_intc_of and s3c2416_init_intc_of. The function only takes
the 1st 2 parameters.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
drivers/irqchip/irq-s3c24xx.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/drivers/irqchip/irq-s3c24xx.c b/drivers/irqchip/irq-s3c24xx.c
index bbcc944..78a6acc 100644
--- a/drivers/irqchip/irq-s3c24xx.c
+++ b/drivers/irqchip/irq-s3c24xx.c
@@ -1323,8 +1323,7 @@ static struct s3c24xx_irq_of_ctrl s3c2410_ctrl[] = {
};
int __init s3c2410_init_intc_of(struct device_node *np,
- struct device_node *interrupt_parent,
- struct s3c24xx_irq_of_ctrl *ctrl, int num_ctrl)
+ struct device_node *interrupt_parent)
{
return s3c_init_intc_of(np, interrupt_parent,
s3c2410_ctrl, ARRAY_SIZE(s3c2410_ctrl));
@@ -1346,8 +1345,7 @@ static struct s3c24xx_irq_of_ctrl s3c2416_ctrl[] = {
};
int __init s3c2416_init_intc_of(struct device_node *np,
- struct device_node *interrupt_parent,
- struct s3c24xx_irq_of_ctrl *ctrl, int num_ctrl)
+ struct device_node *interrupt_parent)
{
return s3c_init_intc_of(np, interrupt_parent,
s3c2416_ctrl, ARRAY_SIZE(s3c2416_ctrl));
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 6/7] irqchip: mxs: fix function type for IRQCHIP_OF_DECLARE
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
` (4 preceding siblings ...)
2014-05-13 0:29 ` [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
2014-05-13 0:29 ` [PATCH 7/7] clk: ti: add missing semi-colon on CLK_OF_DECLARE Rob Herring
6 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
with icoll_of_init. The function should return an error code or 0 on
success.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
drivers/irqchip/irq-mxs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-mxs.c b/drivers/irqchip/irq-mxs.c
index 63b3d4e..4044ff2 100644
--- a/drivers/irqchip/irq-mxs.c
+++ b/drivers/irqchip/irq-mxs.c
@@ -96,7 +96,7 @@ static struct irq_domain_ops icoll_irq_domain_ops = {
.xlate = irq_domain_xlate_onecell,
};
-static void __init icoll_of_init(struct device_node *np,
+static int __init icoll_of_init(struct device_node *np,
struct device_node *interrupt_parent)
{
icoll_base = of_iomap(np, 0);
@@ -110,6 +110,6 @@ static void __init icoll_of_init(struct device_node *np,
icoll_domain = irq_domain_add_linear(np, ICOLL_NUM_IRQS,
&icoll_irq_domain_ops, NULL);
- WARN_ON(!icoll_domain);
+ return icoll_domain ? 0 : -ENODEV;
}
IRQCHIP_DECLARE(mxs, "fsl,icoll", icoll_of_init);
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 7/7] clk: ti: add missing semi-colon on CLK_OF_DECLARE
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
` (5 preceding siblings ...)
2014-05-13 0:29 ` [PATCH 6/7] irqchip: mxs: " Rob Herring
@ 2014-05-13 0:29 ` Rob Herring
6 siblings, 0 replies; 14+ messages in thread
From: Rob Herring @ 2014-05-13 0:29 UTC (permalink / raw)
To: linux-arm-kernel
From: Rob Herring <robh@kernel.org>
With common OF_DECLARE macros, a semi-colon will be required for
CLK_OF_DECLARE. Add the missing semi-colon to ti,gate-clock.
Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Mike Turquette <mturquette@linaro.org>
---
drivers/clk/ti/gate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/ti/gate.c b/drivers/clk/ti/gate.c
index 3e2999d..5873481 100644
--- a/drivers/clk/ti/gate.c
+++ b/drivers/clk/ti/gate.c
@@ -221,7 +221,7 @@ static void __init of_ti_gate_clk_setup(struct device_node *node)
{
_of_ti_gate_clk_setup(node, &omap_gate_clk_ops, NULL);
}
-CLK_OF_DECLARE(ti_gate_clk, "ti,gate-clock", of_ti_gate_clk_setup)
+CLK_OF_DECLARE(ti_gate_clk, "ti,gate-clock", of_ti_gate_clk_setup);
static void __init of_ti_wait_gate_clk_setup(struct device_node *node)
{
--
1.9.1
^ permalink raw reply related [flat|nested] 14+ messages in thread
* [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE
2014-05-13 0:29 ` [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE Rob Herring
@ 2014-05-13 2:10 ` Shawn Guo
0 siblings, 0 replies; 14+ messages in thread
From: Shawn Guo @ 2014-05-13 2:10 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, May 12, 2014 at 07:29:47PM -0500, Rob Herring wrote:
> From: Rob Herring <robh@kernel.org>
>
> Adding function type checking to CLK_OF_DECLARE found a type mismatch with
> mx35_clocks_init_dt. The function should return void.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> Cc: Shawn Guo <shawn.guo@freescale.com>
> Cc: Sascha Hauer <kernel@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 3/7] clk: sunxi: avoid double DT matching
2014-05-13 0:29 ` [PATCH 3/7] clk: sunxi: avoid double DT matching Rob Herring
@ 2014-05-13 15:12 ` Rob Herring
2014-05-13 16:57 ` Emilio López
0 siblings, 1 reply; 14+ messages in thread
From: Rob Herring @ 2014-05-13 15:12 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, May 12, 2014 at 7:29 PM, Rob Herring <robherring2@gmail.com> wrote:
> From: Rob Herring <robh@kernel.org>
>
> Use for_each_matching_node_and_match instead of for_each_matching_node plus
> of_match_node to avoid searching the DT twice for each node.
>
> The sunxi DT scanning code should really be re-worked rather than have
> its own private matching infrastructure. It is working around needing a
> function pointer and a data pointer for each compatible match.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> Cc: "Emilio L?pez" <emilio@elopez.com.ar>
> Cc: Mike Turquette <mturquette@linaro.org>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
> drivers/clk/sunxi/clk-sunxi.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
> index bd7dc73..7977106 100644
> --- a/drivers/clk/sunxi/clk-sunxi.c
> +++ b/drivers/clk/sunxi/clk-sunxi.c
> @@ -1278,8 +1278,7 @@ static void __init of_sunxi_table_clock_setup(const struct of_device_id *clk_mat
> const struct of_device_id *match;
> void (*setup_function)(struct device_node *, const void *) = function;
>
> - for_each_matching_node(np, clk_match) {
> - match = of_match_node(clk_match, np);
> + for_each_matching_node_and_match(np, clk_match, match) {
I missed folding in a fix and this should be &match instead of match.
Rob
> data = match->data;
> setup_function(np, data);
> }
> --
> 1.9.1
>
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE
2014-05-13 0:29 ` [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE Rob Herring
@ 2014-05-13 15:22 ` Jason Cooper
2014-05-13 17:02 ` Rob Herring
0 siblings, 1 reply; 14+ messages in thread
From: Jason Cooper @ 2014-05-13 15:22 UTC (permalink / raw)
To: linux-arm-kernel
Rob,
On Mon, May 12, 2014 at 07:29:51PM -0500, Rob Herring wrote:
> From: Rob Herring <robh@kernel.org>
>
> Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
> with s3c2410_init_intc_of and s3c2416_init_intc_of. The function only takes
> the 1st 2 parameters.
>
> Signed-off-by: Rob Herring <robh@kernel.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> ---
> drivers/irqchip/irq-s3c24xx.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
Thomas has asked me to give him a hand with the patches for
drivers/irqchip. When you add these two to your tree, could you amend
the subject line to conform with the other patches in that directory?
eg (note the capitalization on 'Fix'):
irqchip: s3c24xx: Fix function type for IRQCHIP_OF_DECLARE
irqchip: mxs: Fix function type for IRQCHIP_OF_DECLARE
With that change,
Acked-by: Jason Cooper <jason@lakedaemon.net>
Or, if you like, I can apply these two to the branch I'm staging for
Thomas. Either is fine with me.
thx,
Jason.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 3/7] clk: sunxi: avoid double DT matching
2014-05-13 15:12 ` Rob Herring
@ 2014-05-13 16:57 ` Emilio López
0 siblings, 0 replies; 14+ messages in thread
From: Emilio López @ 2014-05-13 16:57 UTC (permalink / raw)
To: linux-arm-kernel
Hi Rob,
For 3/7 (with the mentioned fix) and 4/7 my Cubietruck still boots, so
Acked-by: Emilio L?pez <emilio@elopez.com.ar>
Tested-by: Emilio L?pez <emilio@elopez.com.ar>
El 13/05/14 12:12, Rob Herring escribi?:
> On Mon, May 12, 2014 at 7:29 PM, Rob Herring <robherring2@gmail.com> wrote:
>> From: Rob Herring <robh@kernel.org>
>>
>> Use for_each_matching_node_and_match instead of for_each_matching_node plus
>> of_match_node to avoid searching the DT twice for each node.
>>
>> The sunxi DT scanning code should really be re-worked rather than have
>> its own private matching infrastructure. It is working around needing a
>> function pointer and a data pointer for each compatible match.
>>
>> Signed-off-by: Rob Herring <robh@kernel.org>
>> Cc: "Emilio L?pez" <emilio@elopez.com.ar>
>> Cc: Mike Turquette <mturquette@linaro.org>
>> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cheers,
Emilio
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE
2014-05-13 15:22 ` Jason Cooper
@ 2014-05-13 17:02 ` Rob Herring
2014-05-13 19:19 ` Jason Cooper
0 siblings, 1 reply; 14+ messages in thread
From: Rob Herring @ 2014-05-13 17:02 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, May 13, 2014 at 10:22 AM, Jason Cooper <jason@lakedaemon.net> wrote:
> Rob,
>
> On Mon, May 12, 2014 at 07:29:51PM -0500, Rob Herring wrote:
>> From: Rob Herring <robh@kernel.org>
>>
>> Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
>> with s3c2410_init_intc_of and s3c2416_init_intc_of. The function only takes
>> the 1st 2 parameters.
>>
>> Signed-off-by: Rob Herring <robh@kernel.org>
>> Cc: Thomas Gleixner <tglx@linutronix.de>
>> ---
>> drivers/irqchip/irq-s3c24xx.c | 6 ++----
>> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> Thomas has asked me to give him a hand with the patches for
> drivers/irqchip. When you add these two to your tree, could you amend
> the subject line to conform with the other patches in that directory?
Excellent! We've needed some help there for a long time. Is there a
patch in flight to add this to MAINTAINERS.
> eg (note the capitalization on 'Fix'):
>
> irqchip: s3c24xx: Fix function type for IRQCHIP_OF_DECLARE
> irqchip: mxs: Fix function type for IRQCHIP_OF_DECLARE
Will do.
>
> With that change,
>
> Acked-by: Jason Cooper <jason@lakedaemon.net>
>
> Or, if you like, I can apply these two to the branch I'm staging for
> Thomas. Either is fine with me.
>
> thx,
>
> Jason.
^ permalink raw reply [flat|nested] 14+ messages in thread
* [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE
2014-05-13 17:02 ` Rob Herring
@ 2014-05-13 19:19 ` Jason Cooper
0 siblings, 0 replies; 14+ messages in thread
From: Jason Cooper @ 2014-05-13 19:19 UTC (permalink / raw)
To: linux-arm-kernel
On Tue, May 13, 2014 at 12:02:06PM -0500, Rob Herring wrote:
> On Tue, May 13, 2014 at 10:22 AM, Jason Cooper <jason@lakedaemon.net> wrote:
> > Rob,
> >
> > On Mon, May 12, 2014 at 07:29:51PM -0500, Rob Herring wrote:
> >> From: Rob Herring <robh@kernel.org>
> >>
> >> Adding function type checking to IRQCHIP_OF_DECLARE found a type mismatch
> >> with s3c2410_init_intc_of and s3c2416_init_intc_of. The function only takes
> >> the 1st 2 parameters.
> >>
> >> Signed-off-by: Rob Herring <robh@kernel.org>
> >> Cc: Thomas Gleixner <tglx@linutronix.de>
> >> ---
> >> drivers/irqchip/irq-s3c24xx.c | 6 ++----
> >> 1 file changed, 2 insertions(+), 4 deletions(-)
> >
> > Thomas has asked me to give him a hand with the patches for
> > drivers/irqchip. When you add these two to your tree, could you amend
> > the subject line to conform with the other patches in that directory?
>
> Excellent! We've needed some help there for a long time. Is there a
> patch in flight to add this to MAINTAINERS.
See:
https://lkml.kernel.org/r/1400006821-32145-1-git-send-email-jason at lakedaemon.net
and it's now in irq/urgent in the tip tree.
thx,
Jason.
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2014-05-13 19:19 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-13 0:29 [PATCH 0/7] OF init section function prototype fixes Rob Herring
2014-05-13 0:29 ` [PATCH 1/7] ARM: imx: fix function type for CLK_OF_DECLARE Rob Herring
2014-05-13 2:10 ` Shawn Guo
2014-05-13 0:29 ` [PATCH 2/7] clk: rockchip: " Rob Herring
2014-05-13 0:29 ` [PATCH 3/7] clk: sunxi: avoid double DT matching Rob Herring
2014-05-13 15:12 ` Rob Herring
2014-05-13 16:57 ` Emilio López
2014-05-13 0:29 ` [PATCH 4/7] clk: sunxi: fix function type for CLK_OF_DECLARE Rob Herring
2014-05-13 0:29 ` [PATCH 5/7] irqchip: s3c24xx: fix function type for IRQCHIP_OF_DECLARE Rob Herring
2014-05-13 15:22 ` Jason Cooper
2014-05-13 17:02 ` Rob Herring
2014-05-13 19:19 ` Jason Cooper
2014-05-13 0:29 ` [PATCH 6/7] irqchip: mxs: " Rob Herring
2014-05-13 0:29 ` [PATCH 7/7] clk: ti: add missing semi-colon on CLK_OF_DECLARE Rob Herring
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).