[PATCH net-next 3/4] net: lan966x: add new compatible microchip,lan9668-switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The old generic compatible string is deprecated. Add the new specific
one.

Signed-off-by: Michael Walle <michael@xxxxxxxx>
---
 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




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux