diff mbox series

[v2,1/5] mpc83xx: remove unneeded extern declaration in cpu_init

Message ID 20200527124316.3339103-2-hs@denx.de
State Accepted
Commit 1a1b4f5d6b13dc1de4646ba1a4ee21ec0c3b152a
Headers show
Series powerpc, mpc83xx: add DM_ETH support | expand

Commit Message

Heiko Schocher May 27, 2020, 12:43 p.m. UTC
remove
extern void qe_init(uint qe_base);
extern void qe_reset(void);

and include fsl_qe.h instead.

Signed-off-by: Heiko Schocher <hs at denx.de>

---

Changes in v2:
- new in v2

 arch/powerpc/cpu/mpc83xx/cpu_init.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/powerpc/cpu/mpc83xx/cpu_init.c b/arch/powerpc/cpu/mpc83xx/cpu_init.c
index 438b14b162..b21b0b0324 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu_init.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu_init.c
@@ -9,6 +9,7 @@ 
 #include <ioports.h>
 #include <asm/io.h>
 #include <asm/processor.h>
+#include <fsl_qe.h>
 #ifdef CONFIG_USB_EHCI_FSL
 #include <usb/ehci-ci.h>
 #endif
@@ -26,8 +27,6 @@  DECLARE_GLOBAL_DATA_PTR;
 extern qe_iop_conf_t qe_iop_conf_tab[];
 extern void qe_config_iopin(u8 port, u8 pin, int dir,
 			 int open_drain, int assign);
-extern void qe_init(uint qe_base);
-extern void qe_reset(void);
 
 static void config_qe_ioports(void)
 {