public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 03/21]  video/radeon_base: replace MS_TO_HZ()  with msecs_to_jiffies()
@ 2004-09-23 20:31 janitor
  2004-09-24  4:12 ` Gene Heskett
  0 siblings, 1 reply; 4+ messages in thread
From: janitor @ 2004-09-23 20:31 UTC (permalink / raw)
  To: akpm; +Cc: linux-kernel, janitor, nacc







I would appreciate any comments from the janitors list. 



Description: Replace MS_TO_HZ() with msecs_to_jiffies().

Signed-off-by: Nishanth Aravamudan <nacc@us.ibm.com>
Signed-off-by: Maximilian Attems <janitor@sternwelten.at>

---

 linux-2.6.9-rc2-bk7-max/drivers/video/aty/radeon_base.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/video/aty/radeon_base.c~use-msecs-to-jiffies-drivers_video_aty_radeon_base drivers/video/aty/radeon_base.c
--- linux-2.6.9-rc2-bk7/drivers/video/aty/radeon_base.c~use-msecs-to-jiffies-drivers_video_aty_radeon_base	2004-09-21 20:51:45.000000000 +0200
+++ linux-2.6.9-rc2-bk7-max/drivers/video/aty/radeon_base.c	2004-09-21 20:51:45.000000000 +0200
@@ -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>
@@ -1286,7 +1287,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));
 			}
 		}
 	}
_

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-24  5:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-23 20:31 [patch 03/21] video/radeon_base: replace MS_TO_HZ() with msecs_to_jiffies() janitor
2004-09-24  4:12 ` Gene Heskett
2004-09-24  4:38   ` Jon Smirl
2004-09-24  5:15     ` Gene Heskett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox