summaryrefslogtreecommitdiff
path: root/src/lib/delay.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/delay.c')
-rw-r--r--src/lib/delay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/delay.c b/src/lib/delay.c
index 207c6294dd..f9703cb05a 100644
--- a/src/lib/delay.c
+++ b/src/lib/delay.c
@@ -1,14 +1,14 @@
#include <delay.h>
-void mdelay(unsigned msecs)
+void mdelay(unsigned int msecs)
{
- unsigned i;
+ unsigned int i;
for(i = 0; i < msecs; i++) {
udelay(1000);
}
}
-void delay(unsigned secs)
+void delay(unsigned int secs)
{
- unsigned i;
+ unsigned int i;
for(i = 0; i < secs; i++) {
mdelay(1000);
}