The old generic compatible string is deprecated. Add the new specific
one.
Signed-off-by: Michael Walle <[email protected]>
---
drivers/net/ethernet/microchip/lan966x/lan966x_main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c b/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
index d611b52d3a07..adc5474041a6 100644
--- a/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
+++ b/drivers/net/ethernet/microchip/lan966x/lan966x_main.c
@@ -35,6 +35,7 @@ static const struct lan966x_info lan9668_info = {
};
static const struct of_device_id lan966x_match[] = {
+ { .compatible = "microchip,lan9668-switch", .data = &lan9668_info },
{ .compatible = "microchip,lan966x-switch", .data = &lan9668_info },
{ }
};
--
2.30.2