isdn/card: replace milliseconds() with
PATCH 1/1 isdn/card: replace milliseconds() with
I would appreciate any comments from the janitors list.
-Nish
Applys-to: 2.6.7
Description: Replaces calls to milliseconds() with msecs_to_jiffies().
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/isdn/sc/card.h +4 -3
@@ -24,24 +24,25 @@* We need these if they're not already included */ #include <linux/timer.h> +#include <linux/time.h> #include <linux/isdnif.h> #include "message.h" /* * Amount of time to wait for a reset to complete */ -#define CHECKRESET_TIME milliseconds(4000) +#define CHECKRESET_TIME msecs_to_jiffies(4000)/* * Amount of time between line status checks */ -#define CHECKSTAT_TIME milliseconds(8000) +#define CHECKSTAT_TIME msecs_to_jiffies(8000)/* * The maximum amount of time to wait for a message response * to arrive. Use exclusively by send_and_receive */ -#define SAR_TIMEOUT milliseconds(10000) +#define SAR_TIMEOUT msecs_to_jiffies(10000)/* * Macro to determine is a card id is valid
_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors