summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/mc34704.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/mc34704.c')
-rw-r--r--drivers/mfd/mc34704.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/mfd/mc34704.c b/drivers/mfd/mc34704.c
index 9afab07a2d..3dc85f5474 100644
--- a/drivers/mfd/mc34704.c
+++ b/drivers/mfd/mc34704.c
@@ -123,9 +123,15 @@ static int mc34704_probe(struct device_d *dev)
return 0;
}
+static __maybe_unused struct of_device_id mc34704_dt_ids[] = {
+ { .compatible = "fsl,mc34704", },
+ { }
+};
+
static struct driver_d mc34704_driver = {
.name = DRIVERNAME,
.probe = mc34704_probe,
+ .of_compatible = DRV_OF_COMPAT(mc34704_dt_ids),
};
static int mc34704_init(void)