MIPS: Netlogic: replace early_init_devtree() call
authorJayachandran C <jchandra@broadcom.com>
Mon, 4 Nov 2013 12:21:54 +0000 (17:51 +0530)
committerRob Herring <rob.herring@calxeda.com>
Wed, 6 Nov 2013 22:14:04 +0000 (16:14 -0600)
commite363bbac316ffb5daaf45d855f82680148cafe20
tree0bf878ce6be7eadc899b5120176225fb93c2e273
parent47869f5d11e96bf4480635279abc2be30632ca6a
MIPS: Netlogic: replace early_init_devtree() call

The early_init_devtree() API was removed in linux-next for 3.13 with
commit "mips: use early_init_dt_scan". This causes Netlogic XLP compile
to fail:

arch/mips/netlogic/xlp/setup.c:101: undefined reference to `early_init_devtree'

Add xlp_early_init_devtree() which uses the __dt_setup_arch() to
handle early device tree related initialization to fix this.

Signed-off-by: Jayachandran C <jchandra@broadcom.com>
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
arch/mips/include/asm/netlogic/xlp-hal/xlp.h
arch/mips/netlogic/xlp/dt.c
arch/mips/netlogic/xlp/setup.c