aboutsummaryrefslogtreecommitdiffstats
path: root/ch341a_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ch341a_spi.c')
-rw-r--r--ch341a_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ch341a_spi.c b/ch341a_spi.c
index 3978d992..78b9cee6 100644
--- a/ch341a_spi.c
+++ b/ch341a_spi.c
@@ -420,7 +420,7 @@ static const struct spi_master spi_master_ch341a_spi = {
.probe_opcode = default_spi_probe_opcode,
};
-static int ch341a_spi_init(void)
+static int ch341a_spi_init(const struct programmer_cfg *cfg)
{
if (handle != NULL) {
msg_cerr("%s: handle already set! Please report a bug at flashrom@flashrom.org\n", __func__);