Commit 71775725 authored by Sangho Yi's avatar Sangho Yi Committed by Greg Kroah-Hartman

Staging: CSR: csr_time.h: fixed indentation warnings based on coding style

I fixed the indentation warnings on csr_time.h.
Signed-off-by: default avatarSangho Yi <antiroot@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0567e1ec
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
#define CSR_TIME_H__ #define CSR_TIME_H__
/***************************************************************************** /*****************************************************************************
(c) Cambridge Silicon Radio Limited 2010 (c) Cambridge Silicon Radio Limited 2010
All rights reserved and confidential information of CSR All rights reserved and confidential information of CSR
Refer to LICENSE.txt included with this source for details Refer to LICENSE.txt included with this source for details
on the license terms. on the license terms.
*****************************************************************************/ *****************************************************************************/
...@@ -18,13 +18,13 @@ extern "C" { ...@@ -18,13 +18,13 @@ extern "C" {
/******************************************************************************* /*******************************************************************************
NAME NAME
CsrTime CsrTime
DESCRIPTION DESCRIPTION
Type to hold a value describing the current system time, which is a Type to hold a value describing the current system time, which is a
measure of time elapsed since some arbitrarily defined fixed time measure of time elapsed since some arbitrarily defined fixed time
reference, usually associated with system startup. reference, usually associated with system startup.
*******************************************************************************/ *******************************************************************************/
typedef u32 CsrTime; typedef u32 CsrTime;
...@@ -32,12 +32,12 @@ typedef u32 CsrTime; ...@@ -32,12 +32,12 @@ typedef u32 CsrTime;
/******************************************************************************* /*******************************************************************************
NAME NAME
CsrTimeUtc CsrTimeUtc
DESCRIPTION DESCRIPTION
Type to hold a value describing a UTC wallclock time expressed in Type to hold a value describing a UTC wallclock time expressed in
seconds and milliseconds elapsed since midnight January 1st 1970. seconds and milliseconds elapsed since midnight January 1st 1970.
*******************************************************************************/ *******************************************************************************/
typedef struct typedef struct
...@@ -49,27 +49,28 @@ typedef struct ...@@ -49,27 +49,28 @@ typedef struct
/******************************************************************************* /*******************************************************************************
NAME NAME
CsrTimeGet CsrTimeGet
DESCRIPTION DESCRIPTION
Returns the current system time in a low and a high part. The low part Returns the current system time in a low and a high part. The low part
is expressed in microseconds. The high part is incremented when the low is expressed in microseconds. The high part is incremented when the low
part wraps to provide an extended range. part wraps to provide an extended range.
The caller may provide a NULL pointer as the high parameter. In this case The caller may provide a NULL pointer as the high parameter.
the function just returns the low part and ignores the high parameter. In this case the function just returns the low part and ignores the
high parameter.
Although the time is expressed in microseconds the actual resolution is Although the time is expressed in microseconds the actual resolution is
platform dependent and can be less. It is recommended that the platform dependent and can be less. It is recommended that the
resolution is at least 10 milliseconds. resolution is at least 10 milliseconds.
PARAMETERS PARAMETERS
high - Pointer to variable that will receive the high part of the high - Pointer to variable that will receive the high part of the
current system time. Passing NULL is valid. current system time. Passing NULL is valid.
RETURNS RETURNS
Low part of current system time in microseconds. Low part of current system time in microseconds.
*******************************************************************************/ *******************************************************************************/
CsrTime CsrTimeGet(CsrTime *high); CsrTime CsrTimeGet(CsrTime *high);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment