aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDzianis Kahanovich2010-09-17 16:42:05 +0300
committerMark Brown2010-09-17 14:54:49 +0100
commitd85a6d7bdc4eb88b31ca3c276ee5f0f1c8696795 (patch)
treeb5e4a4a11307b46ab774a8d6d8bcd8746a3e81dd
parent4c62ed9b554aa32180a5d697acc7ab8f774b549f (diff)
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>
-rw-r--r--sound/soc/sh/fsi.c2
1 files changed, 2 insertions, 0 deletions
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);