diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-03-16 14:48:16 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-03-16 14:48:16 +0100 |
commit | 8f88f0256f2e8afd83177b3554992009acb98996 (patch) | |
tree | 2cfbc07c64edda0db4afa67b5ed2d6c9a6c78537 /sound/pci/hda/patch_cirrus.c | |
parent | 34e72afe73c40d9974c1f230c3b62fc43f5c5b28 (diff) | |
parent | 820cc6cf2c552155ea919e596a85e1f4e5dfa2b5 (diff) | |
download | blackbird-op-linux-8f88f0256f2e8afd83177b3554992009acb98996.tar.gz blackbird-op-linux-8f88f0256f2e8afd83177b3554992009acb98996.zip |
Merge branch 'topic/hda-bus' into for-next
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"); MODULE_LICENSE("GPL"); MODULE_DESCRIPTION("Cirrus Logic HD-audio codec"); -static struct hda_codec_preset_list cirrus_list = { +static struct hda_codec_driver cirrus_driver = { .preset = snd_hda_preset_cirrus, - .owner = THIS_MODULE, }; -static int __init patch_cirrus_init(void) -{ - return snd_hda_add_codec_preset(&cirrus_list); -} - -static void __exit patch_cirrus_exit(void) -{ - snd_hda_delete_codec_preset(&cirrus_list); -} - -module_init(patch_cirrus_init) -module_exit(patch_cirrus_exit) +module_hda_codec_driver(cirrus_driver); |