summaryrefslogtreecommitdiff
path: root/drivers/soc/ixp4xx/ixp4xx-npe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/soc/ixp4xx/ixp4xx-npe.c')
-rw-r--r--drivers/soc/ixp4xx/ixp4xx-npe.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/soc/ixp4xx/ixp4xx-npe.c b/drivers/soc/ixp4xx/ixp4xx-npe.c
index d2dd916816d4..15979d4376ab 100644
--- a/drivers/soc/ixp4xx/ixp4xx-npe.c
+++ b/drivers/soc/ixp4xx/ixp4xx-npe.c
@@ -729,9 +729,17 @@ static int ixp4xx_npe_remove(struct platform_device *pdev)
return 0;
}
+static const struct of_device_id ixp4xx_npe_of_match[] = {
+ {
+ .compatible = "intel,ixp4xx-network-processing-engine",
+ },
+ {},
+};
+
static struct platform_driver ixp4xx_npe_driver = {
.driver = {
.name = "ixp4xx-npe",
+ .of_match_table = of_match_ptr(ixp4xx_npe_of_match),
},
.probe = ixp4xx_npe_probe,
.remove = ixp4xx_npe_remove,