diff options
author | Edward O'Callaghan <quasisec@google.com> | 2022-08-12 15:19:49 +1000 |
---|---|---|
committer | Anastasia Klimchuk <aklm@chromium.org> | 2022-09-07 02:00:15 +0000 |
commit | ea938173a40a6fae076f6fc0f37f940eae82d142 (patch) | |
tree | 73b73d116685db844c4951c90929d7ccb8df1b58 /include | |
parent | 5c710ea54afabf8c0e5f3c8ada45c4a5f9f0781b (diff) | |
download | flashrom-ea938173a40a6fae076f6fc0f37f940eae82d142.tar.gz flashrom-ea938173a40a6fae076f6fc0f37f940eae82d142.tar.bz2 flashrom-ea938173a40a6fae076f6fc0f37f940eae82d142.zip |
usb_device.c: Allow for programmer_cfg plumbing
The only driver impacted is raiden_debug_spi.c and so
plumb state directly.
Change-Id: I85ff3117de8743b0a548dad98875cc41f48cac93
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66670
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Anastasia Klimchuk <aklm@chromium.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/usb_device.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb_device.h b/include/usb_device.h index 282a7552..ed8187bb 100644 --- a/include/usb_device.h +++ b/include/usb_device.h @@ -102,7 +102,7 @@ struct usb_match { * extract_programmer_param_str. If the value is found convert it to an integer * using strtol, accepting hex, decimal and octal encoding. */ -void usb_match_init(struct usb_match *match); +void usb_match_init(const struct programmer_cfg *cfg, struct usb_match *match); /* * Add a default value to a usb_match_value. This must be done after calling |