diff options
author | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-02 18:39:46 -0400 |
---|---|---|
committer | Krzysztof Hałasa <khc@pm.waw.pl> | 2008-07-23 17:05:56 -0400 |
commit | 867240f7b2a37b1be4ba37d904a9064a96c82099 (patch) | |
tree | b8d659842fa9062aeebcaaa47920c68619beae01 /drivers/net/wan/lmc/lmc_debug.c | |
parent | d507911c3a451986b3501417c78b568f3850b8ef (diff) |
WAN: Use u32 type instead of u_int32_t in LMC driver.
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
Diffstat (limited to 'drivers/net/wan/lmc/lmc_debug.c')
-rw-r--r-- | drivers/net/wan/lmc/lmc_debug.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/wan/lmc/lmc_debug.c b/drivers/net/wan/lmc/lmc_debug.c index 3b94352b0d03..15049d711f47 100644 --- a/drivers/net/wan/lmc/lmc_debug.c +++ b/drivers/net/wan/lmc/lmc_debug.c | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | #include <linux/types.h> | 1 | #include <linux/types.h> |
3 | #include <linux/netdevice.h> | 2 | #include <linux/netdevice.h> |
4 | #include <linux/interrupt.h> | 3 | #include <linux/interrupt.h> |
@@ -48,10 +47,10 @@ void lmcConsoleLog(char *type, unsigned char *ucData, int iLen) | |||
48 | #endif | 47 | #endif |
49 | 48 | ||
50 | #ifdef DEBUG | 49 | #ifdef DEBUG |
51 | u_int32_t lmcEventLogIndex = 0; | 50 | u32 lmcEventLogIndex; |
52 | u_int32_t lmcEventLogBuf[LMC_EVENTLOGSIZE * LMC_EVENTLOGARGS]; | 51 | u32 lmcEventLogBuf[LMC_EVENTLOGSIZE * LMC_EVENTLOGARGS]; |
53 | 52 | ||
54 | void lmcEventLog (u_int32_t EventNum, u_int32_t arg2, u_int32_t arg3) | 53 | void lmcEventLog(u32 EventNum, u32 arg2, u32 arg3) |
55 | { | 54 | { |
56 | lmcEventLogBuf[lmcEventLogIndex++] = EventNum; | 55 | lmcEventLogBuf[lmcEventLogIndex++] = EventNum; |
57 | lmcEventLogBuf[lmcEventLogIndex++] = arg2; | 56 | lmcEventLogBuf[lmcEventLogIndex++] = arg2; |