projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
412736e
)
platform: goldfish: pipe: add devicetree bindings
author
Greg Hackmann
<ghackmann@google.com>
Fri, 25 Jul 2014 21:02:57 +0000
(14:02 -0700)
committer
Greg Hackmann
<ghackmann@google.com>
Tue, 29 Jul 2014 19:50:11 +0000
(12:50 -0700)
Change-Id: I25fbcbbe3201df71d2f84d2f338b86bc3934c641
Signed-off-by: Greg Hackmann <ghackmann@google.com>
drivers/platform/goldfish/goldfish_pipe.c
patch
|
blob
|
history
diff --git
a/drivers/platform/goldfish/goldfish_pipe.c
b/drivers/platform/goldfish/goldfish_pipe.c
index 10e1e95efeae7486b048d167d8974886db7a3e3d..1283527a0399c33dabffd0605bad6c184bcb7c8d 100644
(file)
--- a/
drivers/platform/goldfish/goldfish_pipe.c
+++ b/
drivers/platform/goldfish/goldfish_pipe.c
@@
-634,11
+634,19
@@
static int goldfish_pipe_remove(struct platform_device *pdev)
return 0;
}
+static const struct of_device_id goldfish_pipe_of_match[] = {
+ { .compatible = "generic,android-pipe", },
+ {},
+};
+MODULE_DEVICE_TABLE(of, goldfish_pipe_of_match);
+
static struct platform_driver goldfish_pipe = {
.probe = goldfish_pipe_probe,
.remove = goldfish_pipe_remove,
.driver = {
- .name = "goldfish_pipe"
+ .name = "goldfish_pipe",
+ .owner = THIS_MODULE,
+ .of_match_table = goldfish_pipe_of_match,
}
};