linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clk: spear: fix build error for spear3xx
@ 2013-06-03 22:05 Arnd Bergmann
  2013-06-04  4:44 ` Viresh Kumar
  2013-06-11 21:32 ` Mike Turquette
  0 siblings, 2 replies; 3+ messages in thread
From: Arnd Bergmann @ 2013-06-03 22:05 UTC (permalink / raw)
  To: linux-arm-kernel

This patch is required to be able to disable spear320 support
after the spear320_clk_init() prototype changed for the real
function but not for the dummy.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

diff --git a/drivers/clk/spear/spear3xx_clock.c b/drivers/clk/spear/spear3xx_clock.c
index f9ec43f..080c3c5 100644
--- a/drivers/clk/spear/spear3xx_clock.c
+++ b/drivers/clk/spear/spear3xx_clock.c
@@ -369,7 +369,7 @@ static void __init spear320_clk_init(void __iomem *soc_config_base)
 	clk_register_clkdev(clk, NULL, "60100000.serial");
 }
 #else
-static inline void spear320_clk_init(void) { }
+static inline void spear320_clk_init(void __iomem *soc_config_base) { }
 #endif
 
 void __init spear3xx_clk_init(void __iomem *misc_base, void __iomem *soc_config_base)

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] clk: spear: fix build error for spear3xx
  2013-06-03 22:05 [PATCH] clk: spear: fix build error for spear3xx Arnd Bergmann
@ 2013-06-04  4:44 ` Viresh Kumar
  2013-06-11 21:32 ` Mike Turquette
  1 sibling, 0 replies; 3+ messages in thread
From: Viresh Kumar @ 2013-06-04  4:44 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Jun 4, 2013 at 3:35 AM, Arnd Bergmann <arnd@arndb.de> wrote:
> This patch is required to be able to disable spear320 support
> after the spear320_clk_init() prototype changed for the real
> function but not for the dummy.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] clk: spear: fix build error for spear3xx
  2013-06-03 22:05 [PATCH] clk: spear: fix build error for spear3xx Arnd Bergmann
  2013-06-04  4:44 ` Viresh Kumar
@ 2013-06-11 21:32 ` Mike Turquette
  1 sibling, 0 replies; 3+ messages in thread
From: Mike Turquette @ 2013-06-11 21:32 UTC (permalink / raw)
  To: linux-arm-kernel

Quoting Arnd Bergmann (2013-06-03 15:05:07)
> This patch is required to be able to disable spear320 support
> after the spear320_clk_init() prototype changed for the real
> function but not for the dummy.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

Pulled into clk-fixes.

Thanks,
Mike

> 
> diff --git a/drivers/clk/spear/spear3xx_clock.c b/drivers/clk/spear/spear3xx_clock.c
> index f9ec43f..080c3c5 100644
> --- a/drivers/clk/spear/spear3xx_clock.c
> +++ b/drivers/clk/spear/spear3xx_clock.c
> @@ -369,7 +369,7 @@ static void __init spear320_clk_init(void __iomem *soc_config_base)
>         clk_register_clkdev(clk, NULL, "60100000.serial");
>  }
>  #else
> -static inline void spear320_clk_init(void) { }
> +static inline void spear320_clk_init(void __iomem *soc_config_base) { }
>  #endif
>  
>  void __init spear3xx_clk_init(void __iomem *misc_base, void __iomem *soc_config_base)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-06-11 21:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 22:05 [PATCH] clk: spear: fix build error for spear3xx Arnd Bergmann
2013-06-04  4:44 ` Viresh Kumar
2013-06-11 21:32 ` Mike Turquette

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).