mirror of
https://review.coreboot.org/flashrom.git
synced 2025-11-17 13:10:42 +01:00
Since this is the last patch on the topic, add an entry to the devel document. Change-Id: Ide53798eb18f180069fb15687569c94e6a45720c Signed-off-by: Anastasia Klimchuk <aklm@flashrom.org> Reviewed-on: https://review.coreboot.org/c/flashrom/+/90017 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Peter Marheine <pmarheine@chromium.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
19 lines
570 B
C
19 lines
570 B
C
/*
|
|
* This file is part of the flashrom project.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* SPDX-FileCopyrightText: 2024 Antonio Vázquez Blanco <antoniovazquezblanco@gmail.com>
|
|
*/
|
|
|
|
#ifndef __USBDEV_H__
|
|
#define __USBDEV_H__ 1
|
|
|
|
#include <libusb.h>
|
|
|
|
struct libusb_device_handle *usb_dev_get_by_vid_pid_serial(
|
|
struct libusb_context *usb_ctx, uint16_t vid, uint16_t pid, const char *serialno);
|
|
struct libusb_device_handle *usb_dev_get_by_vid_pid_number(
|
|
struct libusb_context *usb_ctx, uint16_t vid, uint16_t pid, unsigned int num);
|
|
|
|
#endif /* __USBDEV_H__ */
|