diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-08-09 11:41:44 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-08-09 11:41:44 -0400 |
commit | 7b03d1d9c0fd5d6df8da75d595c0768224d2a146 (patch) | |
tree | 7e9e8c08f6ff4adfe90be7c82f6fe9aa4832fc8a /sound/pci/hda | |
parent | 5f1890897cd184cc9a0000476279fd01d572ff4b (diff) | |
parent | 97c6a3d17b978092d0df94d5d68dbfc7c74f0902 (diff) |
Merge branch 'topic/hda-probe-defer' into for-next
Fix a build error when CONFIG_SND_HDA_PATCH_LOADER isn't set.
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 3de3a5cbf1d..23ad7e216a6 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -3159,6 +3159,7 @@ static void power_down_all_codecs(struct azx *chip) | |||
3159 | #endif | 3159 | #endif |
3160 | } | 3160 | } |
3161 | 3161 | ||
3162 | #ifdef CONFIG_SND_HDA_PATCH_LOADER | ||
3162 | /* callback from request_firmware_nowait() */ | 3163 | /* callback from request_firmware_nowait() */ |
3163 | static void azx_firmware_cb(const struct firmware *fw, void *context) | 3164 | static void azx_firmware_cb(const struct firmware *fw, void *context) |
3164 | { | 3165 | { |
@@ -3183,6 +3184,7 @@ static void azx_firmware_cb(const struct firmware *fw, void *context) | |||
3183 | snd_card_free(card); | 3184 | snd_card_free(card); |
3184 | pci_set_drvdata(pci, NULL); | 3185 | pci_set_drvdata(pci, NULL); |
3185 | } | 3186 | } |
3187 | #endif | ||
3186 | 3188 | ||
3187 | static int __devinit azx_probe(struct pci_dev *pci, | 3189 | static int __devinit azx_probe(struct pci_dev *pci, |
3188 | const struct pci_device_id *pci_id) | 3190 | const struct pci_device_id *pci_id) |