aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2013-05-12 05:35:30 -0400
committerLuciano Coelho <coelho@ti.com>2013-06-17 05:14:29 -0400
commit2baf53c6e35ea25aaa21486dab023eb3d901611e (patch)
tree058fce1c2d51f9e81c62a97abf85ae3e6dcdde0c
parentc838478b7b78d6e212547cd2243031080f2cee45 (diff)
wlcore: hold jiffies in unsigned long
u32 can be incorrect (too small) for some architectures. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r--drivers/net/wireless/ti/wlcore/ps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ti/wlcore/ps.c b/drivers/net/wireless/ti/wlcore/ps.c
index 9654577efd01..98066d40c2ad 100644
--- a/drivers/net/wireless/ti/wlcore/ps.c
+++ b/drivers/net/wireless/ti/wlcore/ps.c
@@ -110,7 +110,7 @@ int wl1271_ps_elp_wakeup(struct wl1271 *wl)
110 DECLARE_COMPLETION_ONSTACK(compl); 110 DECLARE_COMPLETION_ONSTACK(compl);
111 unsigned long flags; 111 unsigned long flags;
112 int ret; 112 int ret;
113 u32 start_time = jiffies; 113 unsigned long start_time = jiffies;
114 bool pending = false; 114 bool pending = false;
115 115
116 /* 116 /*