diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 17:47:44 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-07-19 17:47:44 -0700 |
commit | 3421ee2f84488e9c03fb7ddfcd60bc30796678c8 (patch) | |
tree | 8f3ed14e93547b157656e65e7f5ef740fdf71f94 | |
parent | fa335388d936a56935aaa101d73a799da9271c11 (diff) | |
download | linux-3.10-3421ee2f84488e9c03fb7ddfcd60bc30796678c8.tar.gz linux-3.10-3421ee2f84488e9c03fb7ddfcd60bc30796678c8.tar.bz2 linux-3.10-3421ee2f84488e9c03fb7ddfcd60bc30796678c8.zip |
staging: csr: oska: remove time.h
No one was including it, so remove it.
Cc: Mikko Virkkilä <mikko.virkkila@bluegiga.com>
Cc: Lauri Hintsala <Lauri.Hintsala@bluegiga.com>
Cc: Riku Mettälä <riku.mettala@bluegiga.com>
Cc: Veli-Pekka Peltola <veli-pekka.peltola@bluegiga.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/csr/oska/time.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/drivers/staging/csr/oska/time.h b/drivers/staging/csr/oska/time.h deleted file mode 100644 index d246ce93730..00000000000 --- a/drivers/staging/csr/oska/time.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * OSKA Linux implementation -- timing - * - * Copyright (C) 2007 Cambridge Silicon Radio Ltd. - * - * Refer to LICENSE.txt included with this source code for details on - * the license terms. - */ -#ifndef __OSKA_LINUX_TIME_H -#define __OSKA_LINUX_TIME_H - -#include <linux/kernel.h> -#include <linux/time.h> -#include <linux/delay.h> -#include <linux/jiffies.h> - -static inline unsigned long os_current_time_ms(void) -{ - return jiffies_to_msecs(jiffies); -} - -static inline void os_sleep_ms(unsigned ms) -{ - msleep_interruptible(ms); -} - -static inline void os_delay_us(unsigned us) -{ - udelay(us); -} - -#define os_time_after(a, b) time_after((a), (b)) - -#endif /* __OSKA_LINUX_TIME_H */ |