From: Dzianis Kahanovich Date: Fri, 17 Sep 2010 13:42:05 +0000 (+0300) Subject: ASoC: Add device table to SH FSI driver X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d85a6d7bdc4eb88b31ca3c276ee5f0f1c8696795;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ASoC: Add device table to SH FSI driver Signed-off-by: Dzianis Kahanovich [Modified to move the location of the table] Signed-off-by: Mark Brown --- diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index abc6d8309609..c8a8ddb245aa 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c @@ -1219,6 +1219,7 @@ static struct platform_device_id fsi_id_table[] = { { "sh_fsi", (kernel_ulong_t)&fsi1_core }, { "sh_fsi2", (kernel_ulong_t)&fsi2_core }, }; +MODULE_DEVICE_TABLE(platform, fsi_id_table); static struct platform_driver fsi_driver = { .driver = { @@ -1239,6 +1240,7 @@ static void __exit fsi_mobile_exit(void) { platform_driver_unregister(&fsi_driver); } + module_init(fsi_mobile_init); module_exit(fsi_mobile_exit);