diff options
author | Dzianis Kahanovich <mahatma@bspu.unibel.by> | 2010-09-17 09:42:05 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-17 09:54:49 -0400 |
commit | d85a6d7bdc4eb88b31ca3c276ee5f0f1c8696795 (patch) | |
tree | b5e4a4a11307b46ab774a8d6d8bcd8746a3e81dd /sound/soc/sh/fsi.c | |
parent | 4c62ed9b554aa32180a5d697acc7ab8f774b549f (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>
Diffstat (limited to 'sound/soc/sh/fsi.c')
-rw-r--r-- | sound/soc/sh/fsi.c | 2 |
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[] = { | |||
1219 | { "sh_fsi", (kernel_ulong_t)&fsi1_core }, | 1219 | { "sh_fsi", (kernel_ulong_t)&fsi1_core }, |
1220 | { "sh_fsi2", (kernel_ulong_t)&fsi2_core }, | 1220 | { "sh_fsi2", (kernel_ulong_t)&fsi2_core }, |
1221 | }; | 1221 | }; |
1222 | MODULE_DEVICE_TABLE(platform, fsi_id_table); | ||
1222 | 1223 | ||
1223 | static struct platform_driver fsi_driver = { | 1224 | static struct platform_driver fsi_driver = { |
1224 | .driver = { | 1225 | .driver = { |
@@ -1239,6 +1240,7 @@ static void __exit fsi_mobile_exit(void) | |||
1239 | { | 1240 | { |
1240 | platform_driver_unregister(&fsi_driver); | 1241 | platform_driver_unregister(&fsi_driver); |
1241 | } | 1242 | } |
1243 | |||
1242 | module_init(fsi_mobile_init); | 1244 | module_init(fsi_mobile_init); |
1243 | module_exit(fsi_mobile_exit); | 1245 | module_exit(fsi_mobile_exit); |
1244 | 1246 | ||