* [Kernel-janitors] [PATCH] video/radeon_base: replace MS_TO_HZ()
@ 2004-07-28 17:50 Nishanth Aravamudan
0 siblings, 0 replies; only message in thread
From: Nishanth Aravamudan @ 2004-07-28 17:50 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 906 bytes --]
I would appreciate any comments from the janitors list.
Applys-to: 2.6.7
Description: Replace MS_TO_HZ() with msecs_to_jiffies().
Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
--- linux-vanilla/drivers/video/aty/radeon_base.c 2004-06-15 22:19:10.000000000 -0700
+++ linux-dev/drivers/video/aty/radeon_base.c 2004-07-28 10:32:25.000000000 -0700
@@ -61,6 +61,7 @@
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/delay.h>
+#include <linux/time.h>
#include <linux/fb.h>
#include <linux/ioport.h>
#include <linux/init.h>
@@ -1279,7 +1280,7 @@ static void radeon_write_mode (struct ra
OUTREG(LVDS_GEN_CNTL, mode->lvds_gen_cntl | LVDS_BLON);
rinfo->pending_lvds_gen_cntl = mode->lvds_gen_cntl;
mod_timer(&rinfo->lvds_timer,
- jiffies + MS_TO_HZ(rinfo->panel_info.pwr_delay));
+ jiffies + msecs_to_jiffies(rinfo->panel_info.pwr_delay));
}
}
}
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-28 17:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-28 17:50 [Kernel-janitors] [PATCH] video/radeon_base: replace MS_TO_HZ() Nishanth Aravamudan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).