MIPS: Loongson32: Remove DMA & NAND devices from ls1b/board.c
authorPaul Burton <paul.burton@mips.com>
Mon, 4 Feb 2019 22:44:33 +0000 (14:44 -0800)
committerPaul Burton <paul.burton@mips.com>
Mon, 4 Feb 2019 22:44:33 +0000 (14:44 -0800)
commit62c2766cf69d910bffb59d8b6b8d77e244ded80e
tree649accf7638c7bbc2cb3b5d7fe31a27f4f893908
parentd6c2fba5e7ddea07804cd94bce575d9ad0999a5b
MIPS: Loongson32: Remove DMA & NAND devices from ls1b/board.c

Commit 7b3415f581c7 ("MIPS: Loongson32: Remove unused platform devices")
removed the definitions of platform devices which have no in tree
drivers from common Loongson32 code, but missed their removal from
Loongson 1B board code in arch/mips/loongson32/ls1b/board.c. This causes
build failures due to the missing declarations of ls1x_dma_pdev,
ls1x_nand_pdev & their associated *_set_platdata functions.

Remove the dead code from arch/mips/loongson32/ls1b/board.c to fix the
build.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Fixes: 7b3415f581c7 ("MIPS: Loongson32: Remove unused platform devices")
arch/mips/loongson32/ls1b/board.c