path: root/ogp_spi.c
diff options
authorCarl-Daniel Hailfinger <>2014-07-19 22:03:29 +0000
committerCarl-Daniel Hailfinger <>2014-07-19 22:03:29 +0000
commita5bcbceb581f27cfc0055369d3dd9cfd1ae00bfa (patch)
tree5daecd880a16b7011be28e064fb7550f3e6b7e58 /ogp_spi.c
parent82b6ec1df30d3fca55547f230c76718d6e613b2a (diff)
Rename programmer registration functions
Register_programmer suggests that we register a programmer. However, that function registers a master for a given bus type, and a programmer may support multiple masters (e.g. SPI, FWH). Rename a few other functions to be more consistent. Corresponding to flashrom svn r1831. Signed-off-by: Carl-Daniel Hailfinger <> Acked-by: Stefan Tauner <>
Diffstat (limited to 'ogp_spi.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/ogp_spi.c b/ogp_spi.c
index a624dfd..929ecd9 100644
--- a/ogp_spi.c
+++ b/ogp_spi.c
@@ -140,7 +140,7 @@ int ogp_spi_init(void)
if (ogp_spibar == ERROR_PTR)
return 1;
- if (bitbang_spi_init(&bitbang_spi_master_ogp))
+ if (register_spi_bitbang_master(&bitbang_spi_master_ogp))
return 1;
return 0;
OpenPOWER on IntegriCloud