diff options
Diffstat (limited to 'sound/soc/omap/omap4-hdmi-card.c')
-rw-r--r-- | sound/soc/omap/omap4-hdmi-card.c | 13 |
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 8671261ba16d..28d689b2714d 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 | ||
75 | static struct snd_soc_card snd_soc_omap4_hdmi = { | 75 | static 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 | ||
115 | static int __init omap4_hdmi_init(void) | 116 | module_platform_driver(omap4_hdmi_driver); |
116 | { | ||
117 | return platform_driver_register(&omap4_hdmi_driver); | ||
118 | } | ||
119 | module_init(omap4_hdmi_init); | ||
120 | |||
121 | static void __exit omap4_hdmi_exit(void) | ||
122 | { | ||
123 | platform_driver_unregister(&omap4_hdmi_driver); | ||
124 | } | ||
125 | module_exit(omap4_hdmi_exit); | ||
126 | 117 | ||
127 | MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>"); | 118 | MODULE_AUTHOR("Ricardo Neri <ricardo.neri@ti.com>"); |
128 | MODULE_DESCRIPTION("OMAP4 HDMI machine ASoC driver"); | 119 | MODULE_DESCRIPTION("OMAP4 HDMI machine ASoC driver"); |