aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/remoteproc/wkup_m3_rproc.c
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2015-09-16 07:32:54 -0500
committerBjorn Andersson <bjorn.andersson@linaro.org>2016-01-29 17:26:47 -0800
commit99c429cb4e628e8b6b8131910952436ad10b21f5 (patch)
treec36ff9f4ee16ec45123e683c82200b3756ae2ad8 /drivers/remoteproc/wkup_m3_rproc.c
parenta66a5114b34bb23396568bf485e05a311b3ee22f (diff)
remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias
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>
Diffstat (limited to 'drivers/remoteproc/wkup_m3_rproc.c')
-rw-r--r--drivers/remoteproc/wkup_m3_rproc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/remoteproc/wkup_m3_rproc.c b/drivers/remoteproc/wkup_m3_rproc.c
index edf81819cce1..02d271d101b4 100644
--- 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)
{

Privacy Policy