flashrom: sync dev_entry changes from upstream
Change 4b24a2d70b79f3288370fd5b4f472bdf218f16e8 in upstream
unified pcidev_status and usbdev_status into dev_entry.
We already have it mostly synced, this change brings over the
remaining differences.
BUG=b:154883987,b:145175076
BRANCH=none
TEST=builds
Change-Id: Ib2a5d28ef66ac16a9b82cb928e2e14e612d0bd84
Signed-off-by: Nikolai Artemiev <nartemiev@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/flashrom/+/2172718
Tested-by: Nikolai Artemiev <nartemiev@google.com>
Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Commit-Queue: Nikolai Artemiev <nartemiev@google.com>
diff --git a/programmer.h b/programmer.h
index e75ff4f..d184466 100644
--- a/programmer.h
+++ b/programmer.h
@@ -442,15 +442,8 @@
/* ft2232_spi.c */
#if CONFIG_FT2232_SPI == 1
-struct usbdev_status {
- uint16_t vendor_id;
- uint16_t device_id;
- int status;
- const char *vendor_name;
- const char *device_name;
-};
int ft2232_spi_init(void);
-extern const struct usbdev_status devs_ft2232spi[];
+extern const struct dev_entry devs_ft2232spi[];
#endif
/* rayer_spi.c */