BACKPORT: Fix segfault when running `flashrom -L`

The raiden_debug programmer is of type USB. However, it does not set the
field `devs.dev`, which will result in a segfault when trying to print
the devices of the non-existing table.

Fix that by replacing `devs.note` with `devs.dev` and adding an empty
device table. Since Device IDs are not used to match programmers,
nothing could be added to the table.

BUG=b:161872481
BRANCH=none
TEST=Builds with "sudo emerge sys-apps/flashrom"
TEST=Running `flashrom -L` no longer segfaults and returns normally.

Signed-off-by: Brian Nemec <bnemec@chromium.org>
Original-Change-Id: Ie4171a11384c34abb102d1aadf86aa1b8829fc04
Original-Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/39826
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Original-Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Original-Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
(cherry picked from commit 6c8bd91e29719b9db2198d6ebf1ea33a26f9f5aa)
Change-Id: I98c293500a3d801396f9d6d7d501e69948f15f76
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2314905
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
diff --git a/programmer.h b/programmer.h
index 482e205..81336f7 100644
--- a/programmer.h
+++ b/programmer.h
@@ -468,6 +468,7 @@
 /* raiden_debug_spi.c */
 #if CONFIG_RAIDEN_DEBUG_SPI == 1
 int raiden_debug_spi_init(void);
+extern const struct dev_entry devs_raiden[];
 #endif
 
 /* linux_mtd.c */