diff options
Diffstat (limited to 'sound/pci/hda/patch_si3054.c')
-rw-r--r-- | sound/pci/hda/patch_si3054.c | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_si3054.c b/sound/pci/hda/patch_si3054.c index 9332b63e406c..43b436c5d01b 100644 --- a/sound/pci/hda/patch_si3054.c +++ b/sound/pci/hda/patch_si3054.c | |||
@@ -28,7 +28,6 @@ | |||
28 | #include <sound/core.h> | 28 | #include <sound/core.h> |
29 | #include "hda_codec.h" | 29 | #include "hda_codec.h" |
30 | #include "hda_local.h" | 30 | #include "hda_local.h" |
31 | #include "hda_patch.h" | ||
32 | 31 | ||
33 | /* si3054 verbs */ | 32 | /* si3054 verbs */ |
34 | #define SI3054_VERB_READ_NODE 0x900 | 33 | #define SI3054_VERB_READ_NODE 0x900 |
@@ -283,7 +282,7 @@ static int patch_si3054(struct hda_codec *codec) | |||
283 | /* | 282 | /* |
284 | * patch entries | 283 | * patch entries |
285 | */ | 284 | */ |
286 | struct hda_codec_preset snd_hda_preset_si3054[] = { | 285 | static struct hda_codec_preset snd_hda_preset_si3054[] = { |
287 | { .id = 0x163c3055, .name = "Si3054", .patch = patch_si3054 }, | 286 | { .id = 0x163c3055, .name = "Si3054", .patch = patch_si3054 }, |
288 | { .id = 0x163c3155, .name = "Si3054", .patch = patch_si3054 }, | 287 | { .id = 0x163c3155, .name = "Si3054", .patch = patch_si3054 }, |
289 | { .id = 0x11c13026, .name = "Si3054", .patch = patch_si3054 }, | 288 | { .id = 0x11c13026, .name = "Si3054", .patch = patch_si3054 }, |
@@ -301,3 +300,35 @@ struct hda_codec_preset snd_hda_preset_si3054[] = { | |||
301 | {} | 300 | {} |
302 | }; | 301 | }; |
303 | 302 | ||
303 | MODULE_ALIAS("snd-hda-codec-id:163c3055"); | ||
304 | MODULE_ALIAS("snd-hda-codec-id:163c3155"); | ||
305 | MODULE_ALIAS("snd-hda-codec-id:11c13026"); | ||
306 | MODULE_ALIAS("snd-hda-codec-id:11c13055"); | ||
307 | MODULE_ALIAS("snd-hda-codec-id:11c13155"); | ||
308 | MODULE_ALIAS("snd-hda-codec-id:10573055"); | ||
309 | MODULE_ALIAS("snd-hda-codec-id:10573057"); | ||
310 | MODULE_ALIAS("snd-hda-codec-id:10573155"); | ||
311 | MODULE_ALIAS("snd-hda-codec-id:11063288"); | ||
312 | MODULE_ALIAS("snd-hda-codec-id:15433155"); | ||
313 | MODULE_ALIAS("snd-hda-codec-id:18540018"); | ||
314 | |||
315 | MODULE_LICENSE("GPL"); | ||
316 | MODULE_DESCRIPTION("Si3054 HD-audio modem codec"); | ||
317 | |||
318 | static struct hda_codec_preset_list si3054_list = { | ||
319 | .preset = snd_hda_preset_si3054, | ||
320 | .owner = THIS_MODULE, | ||
321 | }; | ||
322 | |||
323 | static int __init patch_si3054_init(void) | ||
324 | { | ||
325 | return snd_hda_add_codec_preset(&si3054_list); | ||
326 | } | ||
327 | |||
328 | static void __exit patch_si3054_exit(void) | ||
329 | { | ||
330 | snd_hda_delete_codec_preset(&si3054_list); | ||
331 | } | ||
332 | |||
333 | module_init(patch_si3054_init) | ||
334 | module_exit(patch_si3054_exit) | ||