aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/vsc7326.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2006-12-11 17:41:36 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:43 -0500
commitb7d58394e65c7d90486026614a6ae26d82dd7756 (patch)
treef51f75b9f9c635c7cef7df65d798c74b6c17d143 /drivers/net/chelsio/vsc7326.c
parentc697f83e8c880a1e69fb2a45a6e4aa0670e10602 (diff)
chelsio: the return statement is not a function
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Diffstat (limited to 'drivers/net/chelsio/vsc7326.c')
-rw-r--r--drivers/net/chelsio/vsc7326.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/chelsio/vsc7326.c b/drivers/net/chelsio/vsc7326.c
index 335544132ee3..8c4a31e20e21 100644
--- a/drivers/net/chelsio/vsc7326.c
+++ b/drivers/net/chelsio/vsc7326.c
@@ -256,7 +256,7 @@ static int bist_rd(adapter_t *adapter, int moduleid, int address)
256 else if((result & (1<<8)) != 0x0) 256 else if((result & (1<<8)) != 0x0)
257 CH_ERR("bist read error: 0x%x\n", result); 257 CH_ERR("bist read error: 0x%x\n", result);
258 258
259 return(result & 0xff); 259 return (result & 0xff);
260} 260}
261 261
262static int bist_wr(adapter_t *adapter, int moduleid, int address, int value) 262static int bist_wr(adapter_t *adapter, int moduleid, int address, int value)
@@ -286,7 +286,7 @@ static int bist_wr(adapter_t *adapter, int moduleid, int address, int value)
286 else if((result & (1<<26)) != 0x0) 286 else if((result & (1<<26)) != 0x0)
287 CH_ERR("bist write error: 0x%x\n", result); 287 CH_ERR("bist write error: 0x%x\n", result);
288 288
289 return(0); 289 return 0;
290} 290}
291 291
292static int run_bist(adapter_t *adapter, int moduleid) 292static int run_bist(adapter_t *adapter, int moduleid)
@@ -295,7 +295,7 @@ static int run_bist(adapter_t *adapter, int moduleid)
295 (void) bist_wr(adapter,moduleid, 0x00, 0x02); 295 (void) bist_wr(adapter,moduleid, 0x00, 0x02);
296 (void) bist_wr(adapter,moduleid, 0x01, 0x01); 296 (void) bist_wr(adapter,moduleid, 0x01, 0x01);
297 297
298 return(0); 298 return 0;
299} 299}
300 300
301static int check_bist(adapter_t *adapter, int moduleid) 301static int check_bist(adapter_t *adapter, int moduleid)
@@ -309,14 +309,14 @@ static int check_bist(adapter_t *adapter, int moduleid)
309 if ((result & 3) != 0x3) 309 if ((result & 3) != 0x3)
310 CH_ERR("Result: 0x%x BIST error in ram %d, column: 0x%04x\n", 310 CH_ERR("Result: 0x%x BIST error in ram %d, column: 0x%04x\n",
311 result, moduleid, column); 311 result, moduleid, column);
312 return(0); 312 return 0;
313} 313}
314 314
315static int enable_mem(adapter_t *adapter, int moduleid) 315static int enable_mem(adapter_t *adapter, int moduleid)
316{ 316{
317 /*enable mem*/ 317 /*enable mem*/
318 (void) bist_wr(adapter,moduleid, 0x00, 0x00); 318 (void) bist_wr(adapter,moduleid, 0x00, 0x00);
319 return(0); 319 return 0;
320} 320}
321 321
322static int run_bist_all(adapter_t *adapter) 322static int run_bist_all(adapter_t *adapter)
@@ -358,7 +358,7 @@ static int run_bist_all(adapter_t *adapter)
358 udelay(300); 358 udelay(300);
359 vsc_write(adapter, REG_MEM_BIST, 0x0); 359 vsc_write(adapter, REG_MEM_BIST, 0x0);
360 mdelay(10); 360 mdelay(10);
361 return(0); 361 return 0;
362} 362}
363 363
364static int mac_intr_handler(struct cmac *mac) 364static int mac_intr_handler(struct cmac *mac)