ASoC: Add device table to SH FSI driver
Signed-off-by: Dzianis Kahanovich <mahatma@eu.by> [Modified to move the location of the table] Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
4c62ed9b55
commit
d85a6d7bdc
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue