mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] atmel_lcdfb: fix warning: implicit declaration of function 'clk_get_rate'
@ 2013-02-03  8:44 Jean-Christophe PLAGNIOL-VILLARD
  2013-02-03 10:09 ` [PATCH v2] " Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-02-03  8:44 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/mach-at91/at91sam926x_lowlevel_init.c |    2 +-
 drivers/video/atmel_lcdfb.c                    |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-at91/at91sam926x_lowlevel_init.c b/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
index 553af08..9104ac2 100644
--- a/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
+++ b/arch/arm/mach-at91/at91sam926x_lowlevel_init.c
@@ -128,7 +128,7 @@ void __bare_init at91sam926x_lowlevel_init(struct at91sam926x_lowlevel_cfg *cfg)
 	/* configure PIOx as EBI0 D[16-31] */
 	at91_mux_gpio_disable(cfg->pio, cfg->ebi_pio_pdr);
 	at91_mux_set_pullup(cfg->pio, cfg->ebi_pio_ppudr, true);
-	if (cfg->is_pio_asr)
+	if (cfg->ebi_pio_is_peripha)
 		at91_mux_set_A_periph(cfg->pio, cfg->ebi_pio_ppudr);
 
 	at91_sys_write(cfg->matrix_csa, cfg->ebi_csa);
diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 85f5cf1..08888cc 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -30,6 +30,7 @@
 #include <mach/cpu.h>
 #include <errno.h>
 #include <asm/mmu.h>
+#include <linux/clk.h>
 
 #include "atmel_lcdfb.h"
 
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* [PATCH v2] atmel_lcdfb: fix warning: implicit declaration of function 'clk_get_rate'
  2013-02-03  8:44 [PATCH 1/1] atmel_lcdfb: fix warning: implicit declaration of function 'clk_get_rate' Jean-Christophe PLAGNIOL-VILLARD
@ 2013-02-03 10:09 ` Jean-Christophe PLAGNIOL-VILLARD
  2013-02-04  8:44   ` Sascha Hauer
  0 siblings, 1 reply; 3+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2013-02-03 10:09 UTC (permalink / raw)
  To: barebox

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/video/atmel_lcdfb.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 85f5cf1..08888cc 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -30,6 +30,7 @@
 #include <mach/cpu.h>
 #include <errno.h>
 #include <asm/mmu.h>
+#include <linux/clk.h>
 
 #include "atmel_lcdfb.h"
 
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

* Re: [PATCH v2] atmel_lcdfb: fix warning: implicit declaration of function 'clk_get_rate'
  2013-02-03 10:09 ` [PATCH v2] " Jean-Christophe PLAGNIOL-VILLARD
@ 2013-02-04  8:44   ` Sascha Hauer
  0 siblings, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2013-02-04  8:44 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On Sun, Feb 03, 2013 at 11:09:22AM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

Applied, thanks

Sascha

> ---
>  drivers/video/atmel_lcdfb.c |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
> index 85f5cf1..08888cc 100644
> --- a/drivers/video/atmel_lcdfb.c
> +++ b/drivers/video/atmel_lcdfb.c
> @@ -30,6 +30,7 @@
>  #include <mach/cpu.h>
>  #include <errno.h>
>  #include <asm/mmu.h>
> +#include <linux/clk.h>
>  
>  #include "atmel_lcdfb.h"
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2013-02-04  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-03  8:44 [PATCH 1/1] atmel_lcdfb: fix warning: implicit declaration of function 'clk_get_rate' Jean-Christophe PLAGNIOL-VILLARD
2013-02-03 10:09 ` [PATCH v2] " Jean-Christophe PLAGNIOL-VILLARD
2013-02-04  8:44   ` Sascha Hauer

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