diff options
Diffstat (limited to 'sound/pci/azt3328.c')
-rw-r--r-- | sound/pci/azt3328.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c index 333007c523a1..e9e9b5821d41 100644 --- a/sound/pci/azt3328.c +++ b/sound/pci/azt3328.c | |||
@@ -211,25 +211,25 @@ MODULE_SUPPORTED_DEVICE("{{Aztech,AZF3328}}"); | |||
211 | #endif | 211 | #endif |
212 | 212 | ||
213 | #if DEBUG_MIXER | 213 | #if DEBUG_MIXER |
214 | #define snd_azf3328_dbgmixer(format, args...) printk(format, ##args) | 214 | #define snd_azf3328_dbgmixer(format, args...) printk(KERN_DEBUG format, ##args) |
215 | #else | 215 | #else |
216 | #define snd_azf3328_dbgmixer(format, args...) | 216 | #define snd_azf3328_dbgmixer(format, args...) |
217 | #endif | 217 | #endif |
218 | 218 | ||
219 | #if DEBUG_PLAY_REC | 219 | #if DEBUG_PLAY_REC |
220 | #define snd_azf3328_dbgplay(format, args...) printk(KERN_ERR format, ##args) | 220 | #define snd_azf3328_dbgplay(format, args...) printk(KERN_DEBUG format, ##args) |
221 | #else | 221 | #else |
222 | #define snd_azf3328_dbgplay(format, args...) | 222 | #define snd_azf3328_dbgplay(format, args...) |
223 | #endif | 223 | #endif |
224 | 224 | ||
225 | #if DEBUG_MISC | 225 | #if DEBUG_MISC |
226 | #define snd_azf3328_dbgtimer(format, args...) printk(KERN_ERR format, ##args) | 226 | #define snd_azf3328_dbgtimer(format, args...) printk(KERN_DEBUG format, ##args) |
227 | #else | 227 | #else |
228 | #define snd_azf3328_dbgtimer(format, args...) | 228 | #define snd_azf3328_dbgtimer(format, args...) |
229 | #endif | 229 | #endif |
230 | 230 | ||
231 | #if DEBUG_GAME | 231 | #if DEBUG_GAME |
232 | #define snd_azf3328_dbggame(format, args...) printk(KERN_ERR format, ##args) | 232 | #define snd_azf3328_dbggame(format, args...) printk(KERN_DEBUG format, ##args) |
233 | #else | 233 | #else |
234 | #define snd_azf3328_dbggame(format, args...) | 234 | #define snd_azf3328_dbggame(format, args...) |
235 | #endif | 235 | #endif |
@@ -2216,9 +2216,9 @@ snd_azf3328_probe(struct pci_dev *pci, const struct pci_device_id *pci_id) | |||
2216 | return -ENOENT; | 2216 | return -ENOENT; |
2217 | } | 2217 | } |
2218 | 2218 | ||
2219 | card = snd_card_new(index[dev], id[dev], THIS_MODULE, 0); | 2219 | err = snd_card_create(index[dev], id[dev], THIS_MODULE, 0, &card); |
2220 | if (card == NULL) | 2220 | if (err < 0) |
2221 | return -ENOMEM; | 2221 | return err; |
2222 | 2222 | ||
2223 | strcpy(card->driver, "AZF3328"); | 2223 | strcpy(card->driver, "AZF3328"); |
2224 | strcpy(card->shortname, "Aztech AZF3328 (PCI168)"); | 2224 | strcpy(card->shortname, "Aztech AZF3328 (PCI168)"); |