Merge branch 'for-linus' of git://git.infradead.org/users/vkoul/slave-dma
[firefly-linux-kernel-4.4.55.git] / drivers / w1 / masters / omap_hdq.c
index 9900e8ec73939fef918abff3bda6829e6b25b4d3..03321d6a268465a7f9c19754ea84f299dda9c95d 100644 (file)
@@ -72,11 +72,18 @@ struct hdq_data {
 static int omap_hdq_probe(struct platform_device *pdev);
 static int omap_hdq_remove(struct platform_device *pdev);
 
+static struct of_device_id omap_hdq_dt_ids[] = {
+       { .compatible = "ti,omap3-1w" },
+       {}
+};
+MODULE_DEVICE_TABLE(of, omap_hdq_dt_ids);
+
 static struct platform_driver omap_hdq_driver = {
        .probe =        omap_hdq_probe,
        .remove =       omap_hdq_remove,
        .driver =       {
                .name = "omap_hdq",
+               .of_match_table = omap_hdq_dt_ids,
        },
 };