Skip to content

Commit eed0031

Browse files
321lipengdavem330
authored andcommitted
net: pc300too: add some required spaces
Add spaces required before the open parenthesis '('. Add spaces required after that close brace '}'. Signed-off-by: Peng Li <[email protected]> Signed-off-by: Guangbin Huang <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 0cd2135 commit eed0031

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/net/wan/pc300too.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ typedef struct {
6868
u32 cs_base[4]; /* 3C-48h : Chip Select Base Addrs */
6969
u32 intr_ctrl_stat; /* 4Ch : Interrupt Control/Status */
7070
u32 init_ctrl; /* 50h : EEPROM ctrl, Init Ctrl, etc */
71-
}plx9050;
71+
} plx9050;
7272

7373
typedef struct port_s {
7474
struct napi_struct napi;
@@ -85,7 +85,7 @@ typedef struct port_s {
8585
u16 txlast;
8686
u8 rxs, txs, tmc; /* SCA registers */
8787
u8 chan; /* physical port # - 0 or 1 */
88-
}port_t;
88+
} port_t;
8989

9090
typedef struct card_s {
9191
int type; /* RSV, X21, etc. */
@@ -100,7 +100,7 @@ typedef struct card_s {
100100
u8 irq; /* interrupt request level */
101101

102102
port_t ports[2];
103-
}card_t;
103+
} card_t;
104104

105105
#define get_port(card, port) ((port) < (card)->n_ports ? \
106106
(&(card)->ports[port]) : (NULL))
@@ -117,7 +117,7 @@ static void pc300_set_iface(port_t *port)
117117

118118
sca_out(EXS_TES1, (port->chan ? MSCI1_OFFSET : MSCI0_OFFSET) + EXS,
119119
port->card);
120-
switch(port->settings.clock_type) {
120+
switch (port->settings.clock_type) {
121121
case CLOCK_INT:
122122
rxs |= CLK_BRG; /* BRG output */
123123
txs |= CLK_PIN_OUT | CLK_TX_RXCLK; /* RX clock */

0 commit comments

Comments
 (0)