From fdec7475bf9e321a3729d5ba2100e30e110870ea Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Mon, 22 Feb 2016 08:59:27 +0000 Subject: dediprog: use ordinary USB devs array Even though there is currently only one USB device ID in the wild using our standard way to define the devices creates nicer output for -L and -z. Corresponding to flashrom svn r1942. Signed-off-by: Stefan Tauner Acked-by: Carl-Daniel Hailfinger --- flashrom.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index d671003..25e53f2 100644 --- a/flashrom.c +++ b/flashrom.c @@ -247,9 +247,8 @@ const struct programmer_entry programmer_table[] = { #if CONFIG_DEDIPROG == 1 { .name = "dediprog", - .type = OTHER, - /* FIXME */ - .devs.note = "Dediprog SF100\n", + .type = USB, + .devs.dev = devs_dediprog, .init = dediprog_init, .map_flash_region = fallback_map, .unmap_flash_region = fallback_unmap, -- cgit v1.1