PXA: Squash extern pxa_dram_init()

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
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 <config.h>
 #include <asm/io.h>
 #include <onenand_uboot.h>
-
-extern void pxa_dram_init(void);
+#include <asm/arch/pxa.h>
 
 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 <common.h>
 #include <asm/arch/hardware.h>
 #include <asm/arch/regs-mmc.h>
+#include <asm/arch/pxa.h>
 #include <netdev.h>
 #include <serial.h>
 #include <asm/io.h>
@@ -54,7 +55,6 @@
 	return &serial_ffuart_device;
 }
 
-extern void pxa_dram_init(void);
 int dram_init(void)
 {
 #ifndef	CONFIG_ONENAND