net: sparx5: add compatible string for lan969x
authorDaniel Machon <daniel.machon@microchip.com>
Wed, 23 Oct 2024 22:01:33 +0000 (00:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 01:08:06 +0000 (18:08 -0700)
commit98a01119608d21e0ed95a544071beabb353240ed
tree7e5ef2307ef708604137d94869b37a04d51b51cd
parent41c6439fdc2b741f268a5140c6dd119648896ee4
net: sparx5: add compatible string for lan969x

Add lan9691-switch compatible string to mchp_sparx5_match. Guard it with
IS_ENABLED(CONFIG_LAN969X_SWITCH) to make sure Sparx5 can be compiled on
its own.

Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Daniel Machon <daniel.machon@microchip.com>
Link: https://patch.msgid.link/20241024-sparx5-lan969x-switch-driver-2-v2-14-a0b5fae88a0f@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/microchip/sparx5/sparx5_main.c