]> 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)
commit36ad62416b686b8632086019d3a620f74c160273
tree079b547d7e24d63c221a233abacf113da70952b9
parent471b5e1cc17c531ed3a63d5aecd72ea64d4a2fde
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