isdn/card: replace
PATCH 6/15 isdn/card: replace
Any comments would be appreciated. This is a re-push of a patch submitted a few months ago which has not been merged as of 2.6.9-rc1-mm5 / 2.6.9-rc2.
Description: Remove macro definition of milliseonds() and replace with msecs_to_jiffies().
Signed-off-by Nishanth Aravamudan <[email protected]>
drivers/isdn/sc/card.h +4 -3
@@ -25,23 +25,24 @@*/ #include <linux/timer.h> #include <linux/isdnif.h> +#include <linux/time.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