* [PATCH] mfd/vexpress: vexpress_sysreg_setup must not be __init
@ 2013-01-25 18:53 Arnd Bergmann
2013-01-28 10:04 ` Pawel Moll
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2013-01-25 18:53 UTC (permalink / raw)
To: linux-arm-kernel
The patch 52666298a 'mfd: vexpress-sysreg: Don't skip initialization
on probe' adds a call to vexpress_sysreg_setup from a non-__init
function, so this also has to lose its __init annotation.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: arm at kernel.org
---
drivers/mfd/vexpress-sysreg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c
index 77048b1..558c292 100644
--- a/drivers/mfd/vexpress-sysreg.c
+++ b/drivers/mfd/vexpress-sysreg.c
@@ -313,7 +313,7 @@ static void vexpress_sysreg_config_complete(unsigned long data)
}
-void __init vexpress_sysreg_setup(struct device_node *node)
+void vexpress_sysreg_setup(struct device_node *node)
{
if (WARN_ON(!vexpress_sysreg_base))
return;
--
1.8.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH] mfd/vexpress: vexpress_sysreg_setup must not be __init
2013-01-25 18:53 [PATCH] mfd/vexpress: vexpress_sysreg_setup must not be __init Arnd Bergmann
@ 2013-01-28 10:04 ` Pawel Moll
0 siblings, 0 replies; 2+ messages in thread
From: Pawel Moll @ 2013-01-28 10:04 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, 2013-01-25 at 18:53 +0000, Arnd Bergmann wrote:
> The patch 52666298a 'mfd: vexpress-sysreg: Don't skip initialization
> on probe' adds a call to vexpress_sysreg_setup from a non-__init
> function, so this also has to lose its __init annotation.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Cc: Pawel Moll <pawel.moll@arm.com>
> Cc: arm at kernel.org
> ---
> drivers/mfd/vexpress-sysreg.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mfd/vexpress-sysreg.c b/drivers/mfd/vexpress-sysreg.c
> index 77048b1..558c292 100644
> --- a/drivers/mfd/vexpress-sysreg.c
> +++ b/drivers/mfd/vexpress-sysreg.c
> @@ -313,7 +313,7 @@ static void vexpress_sysreg_config_complete(unsigned long data)
> }
>
>
> -void __init vexpress_sysreg_setup(struct device_node *node)
> +void vexpress_sysreg_setup(struct device_node *node)
> {
> if (WARN_ON(!vexpress_sysreg_base))
> return;
Acked-by: Pawel Moll <pawel.moll@arm.com>
Thanks!
Pawel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-28 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-25 18:53 [PATCH] mfd/vexpress: vexpress_sysreg_setup must not be __init Arnd Bergmann
2013-01-28 10:04 ` Pawel Moll
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).