diff options
Diffstat (limited to 'sound/pci/ad1889.c')
-rw-r--r-- | sound/pci/ad1889.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/ad1889.c b/sound/pci/ad1889.c index 37e8df24711c..8ce9cb4c7970 100644 --- a/sound/pci/ad1889.c +++ b/sound/pci/ad1889.c | |||
@@ -50,7 +50,7 @@ | |||
50 | #include "ad1889.h" | 50 | #include "ad1889.h" |
51 | #include "ac97/ac97_id.h" | 51 | #include "ac97/ac97_id.h" |
52 | 52 | ||
53 | #define AD1889_DRVVER "$Revision: 1.1 $" | 53 | #define AD1889_DRVVER "$Revision: 1.2 $" |
54 | 54 | ||
55 | MODULE_AUTHOR("Kyle McMartin <kyle@parisc-linux.org>, Thibaut Varene <t-bone@parisc-linux.org>"); | 55 | MODULE_AUTHOR("Kyle McMartin <kyle@parisc-linux.org>, Thibaut Varene <t-bone@parisc-linux.org>"); |
56 | MODULE_DESCRIPTION("Analog Devices AD1889 ALSA sound driver"); | 56 | MODULE_DESCRIPTION("Analog Devices AD1889 ALSA sound driver"); |
@@ -928,7 +928,7 @@ snd_ad1889_create(snd_card_t *card, | |||
928 | } | 928 | } |
929 | 929 | ||
930 | /* allocate chip specific data with zero-filled memory */ | 930 | /* allocate chip specific data with zero-filled memory */ |
931 | if ((chip = kcalloc(1, sizeof(*chip), GFP_KERNEL)) == NULL) { | 931 | if ((chip = kzalloc(sizeof(*chip), GFP_KERNEL)) == NULL) { |
932 | pci_disable_device(pci); | 932 | pci_disable_device(pci); |
933 | return -ENOMEM; | 933 | return -ENOMEM; |
934 | } | 934 | } |