|
@@ -624,11 +624,19 @@ static int goldfish_pipe_remove(struct platform_device *pdev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static const struct of_device_id goldfish_pipe_of_match[] = {
|
|
|
|
+ { .compatible = "google,android-pipe", },
|
|
|
|
+ {},
|
|
|
|
+};
|
|
|
|
+MODULE_DEVICE_TABLE(of, goldfish_pipe_of_match);
|
|
|
|
+
|
|
static struct platform_driver goldfish_pipe = {
|
|
static struct platform_driver goldfish_pipe = {
|
|
.probe = goldfish_pipe_probe,
|
|
.probe = goldfish_pipe_probe,
|
|
.remove = goldfish_pipe_remove,
|
|
.remove = goldfish_pipe_remove,
|
|
.driver = {
|
|
.driver = {
|
|
- .name = "goldfish_pipe"
|
|
|
|
|
|
+ .name = "goldfish_pipe",
|
|
|
|
+ .owner = THIS_MODULE,
|
|
|
|
+ .of_match_table = goldfish_pipe_of_match,
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|