clk: rockchip: rk3288: fix up the clk register for hclk_vio
[firefly-linux-kernel-4.4.55.git] / drivers / tty / goldfish.c
index 4356a23c588fe67ee5a14b7a76cf71131c714eeb..1e332855b93388ded9051ec74f644fc3bd8d8857 100644 (file)
@@ -330,11 +330,19 @@ static int goldfish_tty_remove(struct platform_device *pdev)
        return 0;
 }
 
+static const struct of_device_id goldfish_tty_of_match[] = {
+       { .compatible = "google,goldfish-tty", },
+       {},
+};
+
+MODULE_DEVICE_TABLE(of, goldfish_tty_of_match);
+
 static struct platform_driver goldfish_tty_platform_driver = {
        .probe = goldfish_tty_probe,
        .remove = goldfish_tty_remove,
        .driver = {
-               .name = "goldfish_tty"
+               .name = "goldfish_tty",
+               .of_match_table = goldfish_tty_of_match,
        }
 };