mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
Use KERN_WARNING instead of KERN_WARN, which does not exist
Reported-by: Andrew Lyon <andrew.lyon@gmail.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
79a56ed0e1
commit
472c06441a
1 changed files with 2 additions and 2 deletions
|
@ -224,14 +224,14 @@ Here is pseudo-code showing how this might be done:
|
||||||
card->playback_enabled = 1;
|
card->playback_enabled = 1;
|
||||||
} else {
|
} else {
|
||||||
card->playback_enabled = 0;
|
card->playback_enabled = 0;
|
||||||
printk(KERN_WARN "%s: Playback disabled due to DMA limitations.\n",
|
printk(KERN_WARNING "%s: Playback disabled due to DMA limitations.\n",
|
||||||
card->name);
|
card->name);
|
||||||
}
|
}
|
||||||
if (!pci_set_dma_mask(pdev, RECORD_ADDRESS_BITS)) {
|
if (!pci_set_dma_mask(pdev, RECORD_ADDRESS_BITS)) {
|
||||||
card->record_enabled = 1;
|
card->record_enabled = 1;
|
||||||
} else {
|
} else {
|
||||||
card->record_enabled = 0;
|
card->record_enabled = 0;
|
||||||
printk(KERN_WARN "%s: Record disabled due to DMA limitations.\n",
|
printk(KERN_WARNING "%s: Record disabled due to DMA limitations.\n",
|
||||||
card->name);
|
card->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue