MIPS: ralink: Remove check for CONFIG_PCI on non-PCI SoCs
authorJohn Crispin <blogic@openwrt.org>
Wed, 4 Nov 2015 10:50:11 +0000 (11:50 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 11 Nov 2015 07:38:10 +0000 (08:38 +0100)
commitbc19f5d677c10f323650e6bb5fe45ab5fb11e9a9
tree079b547d7e24d63c221a233abacf113da70952b9
parent37bcc03f97e05cc65ce87d3b2fdcd4e5b28ce06c
MIPS: ralink: Remove check for CONFIG_PCI on non-PCI SoCs

The code currently panics if PCI is enabled but the SoC has no PCI bus.
This check is superfluous as the driver only loads if enabled in the
devicetree.

Signed-off-by: John Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/11444/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ralink/mt7620.c