summaryrefslogtreecommitdiffstats
path: root/pony_spi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2014-07-19 22:03:29 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2014-07-19 22:03:29 +0000
commita5bcbceb581f27cfc0055369d3dd9cfd1ae00bfa (patch)
tree5daecd880a16b7011be28e064fb7550f3e6b7e58 /pony_spi.c
parent82b6ec1df30d3fca55547f230c76718d6e613b2a (diff)
downloadast2050-flashrom-a5bcbceb581f27cfc0055369d3dd9cfd1ae00bfa.zip
ast2050-flashrom-a5bcbceb581f27cfc0055369d3dd9cfd1ae00bfa.tar.gz
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 <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'pony_spi.c')
-rw-r--r--pony_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pony_spi.c b/pony_spi.c
index 2a3666f..8a0f340 100644
--- a/pony_spi.c
+++ b/pony_spi.c
@@ -212,7 +212,7 @@ int pony_spi_init(void)
return 1;
}
- if (bitbang_spi_init(&bitbang_spi_master_pony)) {
+ if (register_spi_bitbang_master(&bitbang_spi_master_pony)) {
return 1;
}
return 0;
OpenPOWER on IntegriCloud