Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: mdio: MDIO_PIC64HPSC should depend on ARCH_MICROCHIP

The PIC64-HPSC/HX MDIO interface is only present on Microchip
PIC64-HPSC/HX SoCs. Hence add a dependency on ARCH_MICROCHIP, to
prevent asking the user about this driver when configuring a kernel
without Microchip SoC support.

Fixes: f76aef980206e7c6 ("net: mdio: add a driver for PIC64-HPSC/HX MDIO controller")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Charles Perry <charles.perry@microchip.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/980c57efa5843733ef95459c3283aebade56f142.1776162544.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Geert Uytterhoeven and committed by
Jakub Kicinski
1e9e7fd8 f3206328

+1
+1
drivers/net/mdio/Kconfig
··· 147 147 148 148 config MDIO_PIC64HPSC 149 149 tristate "PIC64-HPSC/HX MDIO interface support" 150 + depends on ARCH_MICROCHIP || COMPILE_TEST 150 151 depends on HAS_IOMEM && OF_MDIO 151 152 help 152 153 This driver supports the MDIO interface found on the PIC64-HPSC/HX