]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/radio/radio-aimslab.c
Pull throttle into release branch
[linux-2.6-omap-h63xx.git] / drivers / media / radio / radio-aimslab.c
index ce940b1b787f346d442d58fedd978aaf07249bfa..f0a67e93d7fd0765a38baece496b3eadc18b2b3a 100644 (file)
@@ -63,7 +63,7 @@ struct rt_device
 static void sleep_delay(long n)
 {
        /* Sleep nicely for 'n' uS */
-       int d=n/(1000000/HZ);
+       int d=n/msecs_to_jiffies(1000);
        if(!d)
                udelay(n);
        else