projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a66a511
)
remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias
author
Dave Gerlach
<d-gerlach@ti.com>
Wed, 16 Sep 2015 12:32:54 +0000
(07:32 -0500)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Sat, 30 Jan 2016 01:26:47 +0000
(17:26 -0800)
Use MODULE_DEVICE_TABLE with wkup_m3_rproc_of_match so the module alias
is exported and the wkup_m3_rproc driver can automatically probe.
Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
drivers/remoteproc/wkup_m3_rproc.c
patch
|
blob
|
history
diff --git
a/drivers/remoteproc/wkup_m3_rproc.c
b/drivers/remoteproc/wkup_m3_rproc.c
index
edf8181
..
02d271d
100644
(file)
--- a/
drivers/remoteproc/wkup_m3_rproc.c
+++ b/
drivers/remoteproc/wkup_m3_rproc.c
@@
-122,6
+122,7
@@
static const struct of_device_id wkup_m3_rproc_of_match[] = {
{ .compatible = "ti,am4372-wkup-m3", },
{},
};
+MODULE_DEVICE_TABLE(of, wkup_m3_rproc_of_match);
static int wkup_m3_rproc_probe(struct platform_device *pdev)
{