summaryrefslogtreecommitdiff
path: root/drivers/staging/csr/csr_lib.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-20 19:05:42 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-20 19:05:42 (GMT)
commit26a6b2e1688bc154a16778851d710e90b62f715e (patch)
tree556fe1919c94aa4d4bac68d3e5dfbc40cfdeec10 /drivers/staging/csr/csr_lib.h
parentab2b8c7383caf6b071930e4e1d4a8b4bf1708f38 (diff)
downloadlinux-fsl-qoriq-26a6b2e1688bc154a16778851d710e90b62f715e.tar.xz
staging: csr: remove CsrUint32 typedef
Use the in-kernel u32 type instead. 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>
Diffstat (limited to 'drivers/staging/csr/csr_lib.h')
-rw-r--r--drivers/staging/csr/csr_lib.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/csr/csr_lib.h b/drivers/staging/csr/csr_lib.h
index 7259b63..55768f8 100644
--- a/drivers/staging/csr/csr_lib.h
+++ b/drivers/staging/csr/csr_lib.h
@@ -102,7 +102,7 @@ typedef struct
{
CsrPrim type;
u16 value1;
- CsrUint32 value2;
+ u32 value2;
} CsrEventCsrUint16CsrUint32;
/*----------------------------------------------------------------------------*
@@ -113,7 +113,7 @@ typedef struct
* Allocates and fills in a message with the signature CsrEventCsrUint16
*
*----------------------------------------------------------------------------*/
-CsrEventCsrUint16CsrUint32 *CsrEventCsrUint16CsrUint32_struct(u16 primtype, u16 msgtype, u16 value1, CsrUint32 value2);
+CsrEventCsrUint16CsrUint32 *CsrEventCsrUint16CsrUint32_struct(u16 primtype, u16 msgtype, u16 value1, u32 value2);
typedef struct
{
@@ -135,7 +135,7 @@ CsrEventCsrUint16CsrCharString *CsrEventCsrUint16CsrCharString_struct(u16 primty
typedef struct
{
CsrPrim type;
- CsrUint32 value;
+ u32 value;
} CsrEventCsrUint32;
/*----------------------------------------------------------------------------*
@@ -146,12 +146,12 @@ typedef struct
* Allocates and fills in a message with the signature CsrEventCsrUint32
*
*----------------------------------------------------------------------------*/
-CsrEventCsrUint32 *CsrEventCsrUint32_struct(u16 primtype, u16 msgtype, CsrUint32 value);
+CsrEventCsrUint32 *CsrEventCsrUint32_struct(u16 primtype, u16 msgtype, u32 value);
typedef struct
{
CsrPrim type;
- CsrUint32 value1;
+ u32 value1;
u16 value2;
} CsrEventCsrUint32CsrUint16;
@@ -163,12 +163,12 @@ typedef struct
* Allocates and fills in a message with the signature CsrEventCsrUint32CsrUint16
*
*----------------------------------------------------------------------------*/
-CsrEventCsrUint32CsrUint16 *CsrEventCsrUint32CsrUint16_struct(u16 primtype, u16 msgtype, CsrUint32 value1, CsrUint32 value2);
+CsrEventCsrUint32CsrUint16 *CsrEventCsrUint32CsrUint16_struct(u16 primtype, u16 msgtype, u32 value1, u32 value2);
typedef struct
{
CsrPrim type;
- CsrUint32 value1;
+ u32 value1;
CsrCharString *value2;
} CsrEventCsrUint32CsrCharString;
@@ -180,7 +180,7 @@ typedef struct
* Allocates and fills in a message with the signature CsrEventCsrUint32CsrCharString
*
*----------------------------------------------------------------------------*/
-CsrEventCsrUint32CsrCharString *CsrEventCsrUint32CsrCharString_struct(u16 primtype, u16 msgtype, CsrUint32 value1, CsrCharString *value2);
+CsrEventCsrUint32CsrCharString *CsrEventCsrUint32CsrCharString_struct(u16 primtype, u16 msgtype, u32 value1, CsrCharString *value2);
#ifdef __cplusplus
}