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_cirrus.c | |
parent | bc465aa9d045feb0e13b4a8f32cc33c1943f62d6 (diff) | |
parent | 967b1307b69b8ada8b331e01046ad1ef83742e99 (diff) |
Merge branch 'for-next' into topic/hda-core
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
-rw-r--r-- | sound/pci/hda/patch_cirrus.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index dd2b3d92071f..50e9dd675579 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c | |||
@@ -1221,20 +1221,8 @@ MODULE_ALIAS("snd-hda-codec-id:10134213"); | |||
1221 | MODULE_LICENSE("GPL"); | 1221 | MODULE_LICENSE("GPL"); |
1222 | MODULE_DESCRIPTION("Cirrus Logic HD-audio codec"); | 1222 | MODULE_DESCRIPTION("Cirrus Logic HD-audio codec"); |
1223 | 1223 | ||
1224 | static struct hda_codec_preset_list cirrus_list = { | 1224 | static struct hda_codec_driver cirrus_driver = { |
1225 | .preset = snd_hda_preset_cirrus, | 1225 | .preset = snd_hda_preset_cirrus, |
1226 | .owner = THIS_MODULE, | ||
1227 | }; | 1226 | }; |
1228 | 1227 | ||
1229 | static int __init patch_cirrus_init(void) | 1228 | module_hda_codec_driver(cirrus_driver); |
1230 | { | ||
1231 | return snd_hda_add_codec_preset(&cirrus_list); | ||
1232 | } | ||
1233 | |||
1234 | static void __exit patch_cirrus_exit(void) | ||
1235 | { | ||
1236 | snd_hda_delete_codec_preset(&cirrus_list); | ||
1237 | } | ||
1238 | |||
1239 | module_init(patch_cirrus_init) | ||
1240 | module_exit(patch_cirrus_exit) | ||