remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias
authorDave Gerlach <d-gerlach@ti.com>
Wed, 16 Sep 2015 12:32:54 +0000 (07:32 -0500)
committerBjorn 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

index edf81819cce179bb338ff615ac09a12b3266e2c8..02d271d101b45a0c6585d7dfe24f1e22259f88ed 100644 (file)
@@ -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)
 {