]> git.hungrycats.org Git - linux/commitdiff
[PATCH] bttv jiffies warning fix
authorAndrew Morton <akpm@osdl.org>
Tue, 28 Oct 2003 23:13:05 +0000 (15:13 -0800)
committerLinus Torvalds <torvalds@home.osdl.org>
Tue, 28 Oct 2003 23:13:05 +0000 (15:13 -0800)
Use unsigned long for time_after(), not an int.

drivers/media/video/bttv-if.c

index a1544f5fbaafe586dc16e7d2a05ba312e3eae638..433d7a0a80c344f4274a5302ccd7e0ba6b61b4dd 100644 (file)
@@ -247,7 +247,7 @@ static int
 bttv_i2c_wait_done(struct bttv *btv)
 {
        u32 stat;
-       int timeout;
+       unsigned long timeout;
 
        timeout = jiffies + HZ/100 + 1; /* 10ms */
        for (;;) {