summaryrefslogtreecommitdiffstats
path: root/programmer.h
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.de>2021-06-01 14:37:12 +0200
committerNico Huber <nico.h@gmx.de>2021-06-10 12:52:13 +0000
commit5d25f04fd53584e71f12f682430b6c85d3e49ea8 (patch)
treee7be6a221e02863cc573f0e9100151976f78a666 /programmer.h
parent4bb086423c7b187c0fdfcedcff312993bb339d0b (diff)
downloadflashrom-5d25f04fd53584e71f12f682430b6c85d3e49ea8.tar.gz
flashrom-5d25f04fd53584e71f12f682430b6c85d3e49ea8.tar.bz2
flashrom-5d25f04fd53584e71f12f682430b6c85d3e49ea8.zip
programmer_init: use struct programmer_entry*
Change-Id: Iacf0f25abc94a84c5d52c8d69a3e8640817b060a Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55121 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'programmer.h')
-rw-r--r--programmer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/programmer.h b/programmer.h
index 0dda67e3f..809674fce 100644
--- a/programmer.h
+++ b/programmer.h
@@ -178,7 +178,7 @@ struct programmer_entry {
extern const struct programmer_entry *const programmer_table[];
extern const size_t programmer_table_size;
-int programmer_init(enum programmer prog, const char *param);
+int programmer_init(const struct programmer_entry *prog, const char *param);
int programmer_shutdown(void);
struct bitbang_spi_master {