]> git.itanic.dy.fi Git - linux-stable/commitdiff
net: ethernet: adi: move PHYLIB from vendor to driver symbol
authorRandy Dunlap <rdunlap@infradead.org>
Mon, 26 Feb 2024 07:48:20 +0000 (23:48 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Feb 2024 11:16:34 +0000 (11:16 +0000)
In a previous patch I added "select PHYLIB" at the wrong place for the
ADIN1110 driver symbol, so move it to its correct place under the
ADIN1110 kconfig symbol.

Fixes: a9f80df4f514 ("net: ethernet: adi: requires PHYLIB support")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: Michal Kubecek <mkubecek@suse.cz>
Closes: https://lore.kernel.org/lkml/77012b38-4b49-47f4-9a88-d773d52909ad@infradead.org/T/#m8ba397484738711edc0ad607b2c63ca02244e3c3
Cc: Lennart Franzen <lennart@lfdomain.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: netdev@vger.kernel.org
Cc: Nuno Sa <nuno.sa@analog.com>
Tested-by: Michal Kubecek <mkubecek@suse.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/adi/Kconfig

index c91b4dcef4ec2f5f36aef9d2565bf6f644f95130..760a9a60bc15c1849f6b70e7d3f5b99c58667523 100644 (file)
@@ -7,7 +7,6 @@ config NET_VENDOR_ADI
        bool "Analog Devices devices"
        default y
        depends on SPI
-       select PHYLIB
        help
          If you have a network (Ethernet) card belonging to this class, say Y.
 
@@ -22,6 +21,7 @@ config ADIN1110
        tristate "Analog Devices ADIN1110 MAC-PHY"
        depends on SPI && NET_SWITCHDEV
        select CRC8
+       select PHYLIB
        help
          Say yes here to build support for Analog Devices ADIN1110
          Low Power 10BASE-T1L Ethernet MAC-PHY.