path: root/wbsio_spi.c
diff options
authorUwe Hermann <>2010-06-07 19:06:26 +0000
committerUwe Hermann <>2010-06-07 19:06:26 +0000
commit36dec8b9380c03782de48c5cf25f6bdc02a70150 (patch)
treee7fc7878a77427a5b0d6486c5d121ac3bd36c2a0 /wbsio_spi.c
parent1a5eaa1a0559cc73ee9ffd54c5e1190b2803931a (diff)
board_enable.c: Remove useless 'name' parameter
Every board-enable function is passed a 'const char *name' (board name) which is totally useless as the board name was already printed by flashrom at that point. Also, 95% or so of the board-enables don't use the parameter anyway. So, drop it. Corresponding to flashrom svn r1037. Signed-off-by: Uwe Hermann <> Acked-by: Carl-Daniel Hailfinger <>
Diffstat (limited to 'wbsio_spi.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/wbsio_spi.c b/wbsio_spi.c
index 53a382e..ca7bd01 100644
--- a/wbsio_spi.c
+++ b/wbsio_spi.c
@@ -59,7 +59,7 @@ done:
return flashport;
-int wbsio_check_for_spi(const char *name)
+int wbsio_check_for_spi(void)
if (0 == (wbsio_spibase = wbsio_get_spibase(WBSIO_PORT1)))
if (0 == (wbsio_spibase = wbsio_get_spibase(WBSIO_PORT2)))
OpenPOWER on IntegriCloud