diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-13 10:00:22 -0500 |
commit | 4de3a8e101150feaefa1139611a50ff37467f33e (patch) | |
tree | daada742542518b02d7db7c5d32e715eaa5f166d /sound/soc/blackfin/bf5xx-tdm.c | |
parent | 294064f58953f9964e5945424b09c51800330a83 (diff) | |
parent | 099469502f62fbe0d7e4f0b83a2f22538367f734 (diff) |
Merge branch 'master' into fixes
Diffstat (limited to 'sound/soc/blackfin/bf5xx-tdm.c')
-rw-r--r-- | sound/soc/blackfin/bf5xx-tdm.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sound/soc/blackfin/bf5xx-tdm.c b/sound/soc/blackfin/bf5xx-tdm.c index a822d1ee1380..594f88217c74 100644 --- a/sound/soc/blackfin/bf5xx-tdm.c +++ b/sound/soc/blackfin/bf5xx-tdm.c | |||
@@ -226,7 +226,7 @@ static int bf5xx_tdm_resume(struct snd_soc_dai *dai) | |||
226 | #define bf5xx_tdm_resume NULL | 226 | #define bf5xx_tdm_resume NULL |
227 | #endif | 227 | #endif |
228 | 228 | ||
229 | static struct snd_soc_dai_ops bf5xx_tdm_dai_ops = { | 229 | static const struct snd_soc_dai_ops bf5xx_tdm_dai_ops = { |
230 | .hw_params = bf5xx_tdm_hw_params, | 230 | .hw_params = bf5xx_tdm_hw_params, |
231 | .set_fmt = bf5xx_tdm_set_dai_fmt, | 231 | .set_fmt = bf5xx_tdm_set_dai_fmt, |
232 | .shutdown = bf5xx_tdm_shutdown, | 232 | .shutdown = bf5xx_tdm_shutdown, |
@@ -314,17 +314,7 @@ static struct platform_driver bfin_tdm_driver = { | |||
314 | }, | 314 | }, |
315 | }; | 315 | }; |
316 | 316 | ||
317 | static int __init bfin_tdm_init(void) | 317 | module_platform_driver(bfin_tdm_driver); |
318 | { | ||
319 | return platform_driver_register(&bfin_tdm_driver); | ||
320 | } | ||
321 | module_init(bfin_tdm_init); | ||
322 | |||
323 | static void __exit bfin_tdm_exit(void) | ||
324 | { | ||
325 | platform_driver_unregister(&bfin_tdm_driver); | ||
326 | } | ||
327 | module_exit(bfin_tdm_exit); | ||
328 | 318 | ||
329 | /* Module information */ | 319 | /* Module information */ |
330 | MODULE_AUTHOR("Barry Song"); | 320 | MODULE_AUTHOR("Barry Song"); |