diff options
author | Ingo Molnar <mingo@elte.hu> | 2008-09-06 09:31:03 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-09-06 09:31:03 -0400 |
commit | 77dd3b3bd23111040c504be6bd873a5ad09f02df (patch) | |
tree | 119ddcdf89d6a593a8fefea530249084559eeb44 /drivers/media/radio/radio-aztech.c | |
parent | 916c7a855174e3b53d182b97a26b2e27a29726a1 (diff) | |
parent | 70bb08962ea9bd50797ae9f16b2493f5f7c65053 (diff) |
Merge branch 'linus' into timers/ntp
Diffstat (limited to 'drivers/media/radio/radio-aztech.c')
-rw-r--r-- | drivers/media/radio/radio-aztech.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/radio/radio-aztech.c b/drivers/media/radio/radio-aztech.c index 3fe5504428c5..628c689e3ffe 100644 --- a/drivers/media/radio/radio-aztech.c +++ b/drivers/media/radio/radio-aztech.c | |||
@@ -394,8 +394,7 @@ static int __init aztech_init(void) | |||
394 | mutex_init(&lock); | 394 | mutex_init(&lock); |
395 | aztech_radio.priv=&aztech_unit; | 395 | aztech_radio.priv=&aztech_unit; |
396 | 396 | ||
397 | if(video_register_device(&aztech_radio, VFL_TYPE_RADIO, radio_nr)==-1) | 397 | if (video_register_device(&aztech_radio, VFL_TYPE_RADIO, radio_nr) < 0) { |
398 | { | ||
399 | release_region(io,2); | 398 | release_region(io,2); |
400 | return -EINVAL; | 399 | return -EINVAL; |
401 | } | 400 | } |