[patch] gemtek radio obvious fix

From: Zlatko Calusic (zlatko@iskon.hr)
Date: Sat Dec 30 2000 - 06:16:18 EST

  • Next message: Andreas Schuldei: "Re: ext2's inode i_version gone, what now? (stable branch)"

    Index: 24012.6/drivers/media/radio/radio-gemtek.c
    --- 24012.6/drivers/media/radio/radio-gemtek.c Thu, 14 Dec 2000 00:08:47 +0100 zcalusic (linux/P/d/1_radio-gemt 1.1.2.2.3.1 644)
    +++ 24012.7(w)/drivers/media/radio/radio-gemtek.c Sat, 30 Dec 2000 12:06:56 +0100 zcalusic (linux/P/d/1_radio-gemt 1.1.2.2.3.2 644)
    @@ -265,7 +265,7 @@
                     return -EINVAL;
             }
     
    - if (request_region(io, 4, "gemtek"))
    + if (!request_region(io, 4, "gemtek"))
             {
                     printk(KERN_ERR "gemtek: port 0x%x already in use\n", io);
                     return -EBUSY;

    -- 
    Zlatko
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    Please read the FAQ at http://www.tux.org/lkml/
    



    This archive was generated by hypermail 2b29 : Sat Dec 30 2000 - 06:47:55 EST