Signed-off-by: Lucas Stach <[email protected]>
---
 sound/soc/codecs/wm9712.c | 7 +++++++
 1 Datei geändert, 7 Zeilen hinzugefügt(+)

diff --git a/sound/soc/codecs/wm9712.c b/sound/soc/codecs/wm9712.c
index 8e9a6a3..4050e6a 100644
--- a/sound/soc/codecs/wm9712.c
+++ b/sound/soc/codecs/wm9712.c
@@ -697,10 +697,17 @@ static int wm9712_remove(struct platform_device *pdev)
        return 0;
 }
 
+static const struct of_device_id wm9712_of_match[] = {
+       { .compatible = "wlf,wm9712", },
+       {},
+};
+MODULE_DEVICE_TABLE(of, wm9712_of_match);
+
 static struct platform_driver wm9712_codec_driver = {
        .driver = {
                .name = "wm9712-codec",
                .owner = THIS_MODULE,
+               .of_match_table = wm9712_of_match,
        },
 
        .probe = wm9712_probe,
-- 
1.7.11.7

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to