From: Dave Gerlach Date: Wed, 16 Sep 2015 12:32:54 +0000 (-0500) Subject: remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias X-Git-Tag: v4.6-rc1~125^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99c429cb4e628e8b6b8131910952436ad10b21f5;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Ohad Ben-Cohen --- diff --git a/drivers/remoteproc/wkup_m3_rproc.c b/drivers/remoteproc/wkup_m3_rproc.c index edf8181..02d271d 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) {