aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/ozwpan/ozproto.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/ozwpan/ozproto.h')
-rw-r--r--drivers/staging/ozwpan/ozproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozproto.h b/drivers/staging/ozwpan/ozproto.h
index 89aea28bd8d..7d5b47693f3 100644
--- a/drivers/staging/ozwpan/ozproto.h
+++ b/drivers/staging/ozwpan/ozproto.h
@@ -14,7 +14,7 @@
/* Converts millisecs to jiffies.
*/
-#define oz_ms_to_jiffies(__x) (((__x)*1000)/HZ)
+#define oz_ms_to_jiffies(__x) msecs_to_jiffies(__x)
/* Quantum milliseconds.
*/