public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] clk: at91: fix h32mx prototype inclusion in pmc header
@ 2015-05-28 13:07 Nicolas Ferre
  2015-05-28 13:13 ` Alexandre Belloni
  2015-05-28 13:16 ` Boris Brezillon
  0 siblings, 2 replies; 3+ messages in thread
From: Nicolas Ferre @ 2015-05-28 13:07 UTC (permalink / raw)
  To: linux-arm-kernel

Trivial fix that prevents to compile this pmc clock driver if h32mx clock is
present but smd clock isn't.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
Cc: <stable@vger.kernel.org> # 3.18+
---
 drivers/clk/at91/pmc.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h
index 69abb08cf146..eb8e5dc9076d 100644
--- a/drivers/clk/at91/pmc.h
+++ b/drivers/clk/at91/pmc.h
@@ -121,7 +121,7 @@ extern void __init of_at91sam9x5_clk_smd_setup(struct device_node *np,
 					       struct at91_pmc *pmc);
 #endif
 
-#if defined(CONFIG_HAVE_AT91_SMD)
+#if defined(CONFIG_HAVE_AT91_H32MX)
 extern void __init of_sama5d4_clk_h32mx_setup(struct device_node *np,
 					      struct at91_pmc *pmc);
 #endif
-- 
2.1.3

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

* [PATCH] clk: at91: fix h32mx prototype inclusion in pmc header
  2015-05-28 13:07 [PATCH] clk: at91: fix h32mx prototype inclusion in pmc header Nicolas Ferre
@ 2015-05-28 13:13 ` Alexandre Belloni
  2015-05-28 13:16 ` Boris Brezillon
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2015-05-28 13:13 UTC (permalink / raw)
  To: linux-arm-kernel

On 28/05/2015 at 15:07:21 +0200, Nicolas Ferre wrote :
> Trivial fix that prevents to compile this pmc clock driver if h32mx clock is
> present but smd clock isn't.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
> Cc: <stable@vger.kernel.org> # 3.18+
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>

> ---
>  drivers/clk/at91/pmc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h
> index 69abb08cf146..eb8e5dc9076d 100644
> --- a/drivers/clk/at91/pmc.h
> +++ b/drivers/clk/at91/pmc.h
> @@ -121,7 +121,7 @@ extern void __init of_at91sam9x5_clk_smd_setup(struct device_node *np,
>  					       struct at91_pmc *pmc);
>  #endif
>  
> -#if defined(CONFIG_HAVE_AT91_SMD)
> +#if defined(CONFIG_HAVE_AT91_H32MX)
>  extern void __init of_sama5d4_clk_h32mx_setup(struct device_node *np,
>  					      struct at91_pmc *pmc);
>  #endif
> -- 
> 2.1.3
> 

-- 
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [PATCH] clk: at91: fix h32mx prototype inclusion in pmc header
  2015-05-28 13:07 [PATCH] clk: at91: fix h32mx prototype inclusion in pmc header Nicolas Ferre
  2015-05-28 13:13 ` Alexandre Belloni
@ 2015-05-28 13:16 ` Boris Brezillon
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2015-05-28 13:16 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, 28 May 2015 15:07:21 +0200
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:

> Trivial fix that prevents to compile this pmc clock driver if h32mx clock is
> present but smd clock isn't.
> 
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>

Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>

> Fixes: bcc5fd49a0fd ("clk: at91: add a driver for the h32mx clock")
> Cc: <stable@vger.kernel.org> # 3.18+
> ---
>  drivers/clk/at91/pmc.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/clk/at91/pmc.h b/drivers/clk/at91/pmc.h
> index 69abb08cf146..eb8e5dc9076d 100644
> --- a/drivers/clk/at91/pmc.h
> +++ b/drivers/clk/at91/pmc.h
> @@ -121,7 +121,7 @@ extern void __init of_at91sam9x5_clk_smd_setup(struct device_node *np,
>  					       struct at91_pmc *pmc);
>  #endif
>  
> -#if defined(CONFIG_HAVE_AT91_SMD)
> +#if defined(CONFIG_HAVE_AT91_H32MX)
>  extern void __init of_sama5d4_clk_h32mx_setup(struct device_node *np,
>  					      struct at91_pmc *pmc);
>  #endif



-- 
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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

end of thread, other threads:[~2015-05-28 13:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-28 13:07 [PATCH] clk: at91: fix h32mx prototype inclusion in pmc header Nicolas Ferre
2015-05-28 13:13 ` Alexandre Belloni
2015-05-28 13:16 ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox