From 4438a45f4d6abd4b65998dd76528c4705b93b4b5 Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Sat, 26 Nov 2011 11:17:32 +0100 Subject: PXA: Squash extern pxa_dram_init() Signed-off-by: Marek Vasut --- board/vpac270/onenand.c | 3 +-- board/vpac270/vpac270.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'board/vpac270') diff --git a/board/vpac270/onenand.c b/board/vpac270/onenand.c index 6a0a37b..dceb5b7 100644 --- a/board/vpac270/onenand.c +++ b/board/vpac270/onenand.c @@ -26,8 +26,7 @@ #include #include #include - -extern void pxa_dram_init(void); +#include void board_init_f(unsigned long unused) { diff --git a/board/vpac270/vpac270.c b/board/vpac270/vpac270.c index d90a859..bd2f241 100644 --- a/board/vpac270/vpac270.c +++ b/board/vpac270/vpac270.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -54,7 +55,6 @@ struct serial_device *default_serial_console(void) return &serial_ffuart_device; } -extern void pxa_dram_init(void); int dram_init(void) { #ifndef CONFIG_ONENAND -- cgit v1.1