diff options
Diffstat (limited to 'sound/pci/hda/patch_ca0110.c')
-rw-r--r-- | sound/pci/hda/patch_ca0110.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sound/pci/hda/patch_ca0110.c b/sound/pci/hda/patch_ca0110.c index 5e65999e0d8e..447302695195 100644 --- a/sound/pci/hda/patch_ca0110.c +++ b/sound/pci/hda/patch_ca0110.c | |||
@@ -98,20 +98,8 @@ MODULE_ALIAS("snd-hda-codec-id:1102000d"); | |||
98 | MODULE_LICENSE("GPL"); | 98 | MODULE_LICENSE("GPL"); |
99 | MODULE_DESCRIPTION("Creative CA0110-IBG HD-audio codec"); | 99 | MODULE_DESCRIPTION("Creative CA0110-IBG HD-audio codec"); |
100 | 100 | ||
101 | static struct hda_codec_preset_list ca0110_list = { | 101 | static struct hda_codec_driver ca0110_driver = { |
102 | .preset = snd_hda_preset_ca0110, | 102 | .preset = snd_hda_preset_ca0110, |
103 | .owner = THIS_MODULE, | ||
104 | }; | 103 | }; |
105 | 104 | ||
106 | static int __init patch_ca0110_init(void) | 105 | module_hda_codec_driver(ca0110_driver); |
107 | { | ||
108 | return snd_hda_add_codec_preset(&ca0110_list); | ||
109 | } | ||
110 | |||
111 | static void __exit patch_ca0110_exit(void) | ||
112 | { | ||
113 | snd_hda_delete_codec_preset(&ca0110_list); | ||
114 | } | ||
115 | |||
116 | module_init(patch_ca0110_init) | ||
117 | module_exit(patch_ca0110_exit) | ||