[linux-yocto] [PATCH 134/161] net: lsi_acp_net: Added new string to DT match
Cristian Bercaru
cristian.bercaru at windriver.com
Thu May 21 12:21:56 PDT 2015
From: Anders Berg <anders.berg at lsi.com>
Add a the vendor prefixed compatible string to the match table.
Signed-off-by: Anders Berg <anders.berg at lsi.com>
---
drivers/net/ethernet/lsi/lsi_acp_net.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/lsi/lsi_acp_net.c b/drivers/net/ethernet/lsi/lsi_acp_net.c
index 5589619..de1e895 100644
--- a/drivers/net/ethernet/lsi/lsi_acp_net.c
+++ b/drivers/net/ethernet/lsi/lsi_acp_net.c
@@ -2078,7 +2078,8 @@ static int __devexit appnic_drv_remove(struct platform_device *pdev)
}
static const struct of_device_id appnic_dt_ids[] = {
- { .compatible = "acp-femac", }
+ { .compatible = "lsi,acp-femac" },
+ { .compatible = "acp-femac" }
};
MODULE_DEVICE_TABLE(of, appnic_dt_ids);
--
1.7.9.5
More information about the linux-yocto
mailing list