]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88e44f64a80a5ec17d5fee70e019c1b8d14930e3
tree079b547d7e24d63c221a233abacf113da70952b9
parentdb793572100b94a663c240220ed6a1b3ff80beb0
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