Commit d85a6d7b authored by Dzianis Kahanovich's avatar Dzianis Kahanovich Committed by Mark Brown

ASoC: Add device table to SH FSI driver

Signed-off-by: default avatarDzianis Kahanovich <mahatma@eu.by>
[Modified to move the location of the table]
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 4c62ed9b
...@@ -1219,6 +1219,7 @@ static struct platform_device_id fsi_id_table[] = { ...@@ -1219,6 +1219,7 @@ static struct platform_device_id fsi_id_table[] = {
{ "sh_fsi", (kernel_ulong_t)&fsi1_core }, { "sh_fsi", (kernel_ulong_t)&fsi1_core },
{ "sh_fsi2", (kernel_ulong_t)&fsi2_core }, { "sh_fsi2", (kernel_ulong_t)&fsi2_core },
}; };
MODULE_DEVICE_TABLE(platform, fsi_id_table);
static struct platform_driver fsi_driver = { static struct platform_driver fsi_driver = {
.driver = { .driver = {
...@@ -1239,6 +1240,7 @@ static void __exit fsi_mobile_exit(void) ...@@ -1239,6 +1240,7 @@ static void __exit fsi_mobile_exit(void)
{ {
platform_driver_unregister(&fsi_driver); platform_driver_unregister(&fsi_driver);
} }
module_init(fsi_mobile_init); module_init(fsi_mobile_init);
module_exit(fsi_mobile_exit); module_exit(fsi_mobile_exit);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment