diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-07-07 12:35:33 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-07-07 12:35:33 +0100 |
commit | 06be5eefe1192eb8ce8d07497f67595b6bfe9741 (patch) | |
tree | 80f1987d4970f8079681f8be0c135cafc8d6329a /drivers/staging/wilc1000/wilc_sleep.h | |
parent | ARM: fix lockdep unannotated irqs-off warning (diff) | |
parent | ARM: avoid unwanted GCC memset()/memcpy() optimisations for IO variants (diff) | |
download | linux-dev-06be5eefe1192eb8ce8d07497f67595b6bfe9741.tar.xz linux-dev-06be5eefe1192eb8ce8d07497f67595b6bfe9741.zip |
Merge branches 'fixes' and 'ioremap' into for-linus
Diffstat (limited to 'drivers/staging/wilc1000/wilc_sleep.h')
-rw-r--r-- | drivers/staging/wilc1000/wilc_sleep.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/staging/wilc1000/wilc_sleep.h b/drivers/staging/wilc1000/wilc_sleep.h new file mode 100644 index 000000000000..cf9047f707a7 --- /dev/null +++ b/drivers/staging/wilc1000/wilc_sleep.h @@ -0,0 +1,20 @@ +#ifndef __WILC_SLEEP_H__ +#define __WILC_SLEEP_H__ + +#include <linux/types.h> +#include <linux/delay.h> + +/*! + * @brief forces the current thread to sleep until the given time has elapsed + * @param[in] u32TimeMilliSec Time to sleep in Milli seconds + * @sa WILC_SleepMicrosec + * @author syounan + * @date 10 Aug 2010 + * @version 1.0 + * @note This function offers a relatively innacurate and low resolution + * sleep, for accurate high resolution sleep use u32TimeMicoSec + */ +/* TODO: remove and open-code in callers */ +void WILC_Sleep(u32 u32TimeMilliSec); + +#endif |