diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-driver.c')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-driver.c b/drivers/media/video/ivtv/ivtv-driver.c index 4994dc59d40c..2765624b230f 100644 --- a/drivers/media/video/ivtv/ivtv-driver.c +++ b/drivers/media/video/ivtv/ivtv-driver.c | |||
@@ -983,7 +983,7 @@ static int __devinit ivtv_probe(struct pci_dev *dev, | |||
983 | } | 983 | } |
984 | 984 | ||
985 | itv = kzalloc(sizeof(struct ivtv), GFP_ATOMIC); | 985 | itv = kzalloc(sizeof(struct ivtv), GFP_ATOMIC); |
986 | if (itv == 0) { | 986 | if (itv == NULL) { |
987 | spin_unlock(&ivtv_cards_lock); | 987 | spin_unlock(&ivtv_cards_lock); |
988 | return -ENOMEM; | 988 | return -ENOMEM; |
989 | } | 989 | } |