aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/omap4-hdmi-card.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/omap/omap4-hdmi-card.c')
-rw-r--r--sound/soc/omap/omap4-hdmi-card.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/sound/soc/omap/omap4-hdmi-card.c b/sound/soc/omap/omap4-hdmi-card.c
index 8671261ba16..28d689b2714 100644
--- a/sound/soc/omap/omap4-hdmi-card.c
+++ b/sound/soc/omap/omap4-hdmi-card.c
@@ -74,6 +74,7 @@ static struct snd_soc_dai_link omap4_hdmi_dai = {
74 74
75static struct snd_soc_card snd_soc_omap4_hdmi = { 75static struct snd_soc_card snd_soc_omap4_hdmi = {
76 .name = "OMAP4HDMI", 76 .name = "OMAP4HDMI",
77 .owner = THIS_MODULE,
77 .dai_link = &omap4_hdmi_dai, 78 .dai_link = &omap4_hdmi_dai,
78 .num_links = 1, 79 .num_links = 1,
79}; 80};
@@ -112,17 +113,7 @@ static struct platform_driver omap4_hdmi_driver = {
112 .remove = __devexit_p(omap4_hdmi_remove), 113 .remove = __devexit_p(omap4_hdmi_remove),
113}; 114};
114 115
115static int __init omap4_hdmi_init(void) 116module_platform_driver(omap4_hdmi_driver);
116{
117 return platform_driver_register(&omap4_hdmi_driver);
118}
119module_init(omap4_hdmi_init);
120
121static void __exit omap4_hdmi_exit(void)
122{
123 platform_driver_unregister(&omap4_hdmi_driver);
124}
125module_exit(omap4_hdmi_exit);
126 117
127MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>"); 118MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>");
128MODULE_DESCRIPTION("OMAP4 HDMI machine ASoC driver"); 119MODULE_DESCRIPTION("OMAP4 HDMI machine ASoC driver");