summaryrefslogtreecommitdiffstats
path: root/ni845x_spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'ni845x_spi.c')
-rw-r--r--ni845x_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ni845x_spi.c b/ni845x_spi.c
index f75c3991a..0096307b8 100644
--- a/ni845x_spi.c
+++ b/ni845x_spi.c
@@ -540,7 +540,7 @@ static const struct spi_master spi_programmer_ni845x = {
.probe_opcode = default_spi_probe_opcode,
};
-static int ni845x_spi_init(void)
+static int ni845x_spi_init(const struct programmer_cfg *cfg)
{
char *speed_str = NULL;
char *CS_str = NULL;