diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2014-07-19 22:03:29 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2014-07-19 22:03:29 +0000 |
commit | d441ea8ea864bda6b0d6c918da6da918579cf410 (patch) | |
tree | 5daecd880a16b7011be28e064fb7550f3e6b7e58 /nicintel_spi.c | |
parent | 6ba24a08730cd186fdbc32e2159ed299c210346b (diff) | |
download | flashrom-d441ea8ea864bda6b0d6c918da6da918579cf410.zip flashrom-d441ea8ea864bda6b0d6c918da6da918579cf410.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 'nicintel_spi.c')
-rw-r--r-- | nicintel_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nicintel_spi.c b/nicintel_spi.c index 25bfa8f..cb4a61a 100644 --- a/nicintel_spi.c +++ b/nicintel_spi.c @@ -207,7 +207,7 @@ int nicintel_spi_init(void) if (register_shutdown(nicintel_spi_shutdown, NULL)) return 1; - if (bitbang_spi_init(&bitbang_spi_master_nicintel)) + if (register_spi_bitbang_master(&bitbang_spi_master_nicintel)) return 1; return 0; |