Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S267713AbUIXCQE (ORCPT ); Thu, 23 Sep 2004 22:16:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S267770AbUIXCKa (ORCPT ); Thu, 23 Sep 2004 22:10:30 -0400 Received: from baikonur.stro.at ([213.239.196.228]:14749 "EHLO baikonur.stro.at") by vger.kernel.org with ESMTP id S266835AbUIWUjJ (ORCPT ); Thu, 23 Sep 2004 16:39:09 -0400 Subject: [patch 03/21] video/radeon_base: replace MS_TO_HZ() with msecs_to_jiffies() To: akpm@digeo.com Cc: linux-kernel@vger.kernel.org, janitor@sternwelten.at, nacc@us.ibm.com From: janitor@sternwelten.at Date: Thu, 23 Sep 2004 22:31:56 +0200 Message-ID: Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1518 Lines: 46 I would appreciate any comments from the janitors list. Description: Replace MS_TO_HZ() with msecs_to_jiffies(). Signed-off-by: Nishanth Aravamudan Signed-off-by: Maximilian Attems --- 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 #include #include +#include #include #include #include @@ -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)); } } } _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/