diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-23 08:14:02 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-23 08:14:02 -0400 |
commit | 3372dbdd8ca11f51be8c6a30b2bc79eb04c4a902 (patch) | |
tree | d4499bf5a5665b4820ffaf96bce55bf6b895195e /sound/pci/hda/patch_conexant.c | |
parent | bc465aa9d045feb0e13b4a8f32cc33c1943f62d6 (diff) | |
parent | 967b1307b69b8ada8b331e01046ad1ef83742e99 (diff) |
Merge branch 'for-next' into topic/hda-core
Diffstat (limited to 'sound/pci/hda/patch_conexant.c')
-rw-r--r-- | sound/pci/hda/patch_conexant.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index da67ea8645a6..5aa466a13e43 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c | |||
@@ -1018,20 +1018,8 @@ MODULE_ALIAS("snd-hda-codec-id:14f151d7"); | |||
1018 | MODULE_LICENSE("GPL"); | 1018 | MODULE_LICENSE("GPL"); |
1019 | MODULE_DESCRIPTION("Conexant HD-audio codec"); | 1019 | MODULE_DESCRIPTION("Conexant HD-audio codec"); |
1020 | 1020 | ||
1021 | static struct hda_codec_preset_list conexant_list = { | 1021 | static struct hda_codec_driver conexant_driver = { |
1022 | .preset = snd_hda_preset_conexant, | 1022 | .preset = snd_hda_preset_conexant, |
1023 | .owner = THIS_MODULE, | ||
1024 | }; | 1023 | }; |
1025 | 1024 | ||
1026 | static int __init patch_conexant_init(void) | 1025 | module_hda_codec_driver(conexant_driver); |
1027 | { | ||
1028 | return snd_hda_add_codec_preset(&conexant_list); | ||
1029 | } | ||
1030 | |||
1031 | static void __exit patch_conexant_exit(void) | ||
1032 | { | ||
1033 | snd_hda_delete_codec_preset(&conexant_list); | ||
1034 | } | ||
1035 | |||
1036 | module_init(patch_conexant_init) | ||
1037 | module_exit(patch_conexant_exit) | ||