lkml.org 
[lkml]   [2010]   [Apr]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] staging: et131x: et1310_address_map.h Brace and space fix.
Date
I fixed a space and a brace found by checkpatch.pl.

Signed-off-by: Lars Lindley <lindley@coyote.org>
---
drivers/staging/et131x/et1310_address_map.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/et131x/et1310_address_map.h b/drivers/staging/et131x/et1310_address_map.h
index ea746ba..2848e48 100644
--- a/drivers/staging/et131x/et1310_address_map.h
+++ b/drivers/staging/et131x/et1310_address_map.h
@@ -1052,7 +1052,7 @@ typedef struct _RXMAC_t { /* Location: */
* 4-0: register
*/

-#define MII_ADDR(phy,reg) ((phy) << 8 | (reg))
+#define MII_ADDR(phy, reg) ((phy) << 8 | (reg))

/*
* structure for MII Management Control reg in mac address map.
@@ -1249,8 +1249,7 @@ typedef struct _MAC_t { /* Location: */
/*
* MAC STATS Module of JAGCore Address Mapping
*/
-struct macstat_regs
-{ /* Location: */
+struct macstat_regs { /* Location: */
u32 pad[32]; /* 0x6000 - 607C */

/* Tx/Rx 0-64 Byte Frame Counter */
--
1.7.0.4


\
 
 \ /
  Last update: 2010-04-10 08:57    [W:0.026 / U:5.760 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site