summaryrefslogtreecommitdiffstats
path: root/src/cold-flash.h
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-10 13:22:01 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-10 13:22:01 +0200
commitf79b653523980cb3a7510a474860aa1594868c9f (patch)
tree876baaae0e2d0495cfb5da64a8431cca436442a2 /src/cold-flash.h
parentcc6e2dcfcdd8eb59b2bc9bc135b90de04ae15e25 (diff)
download0xFFFF-f79b653523980cb3a7510a474860aa1594868c9f.tar.bz2
cold-flash: Use struct usb_device_info
Diffstat (limited to 'src/cold-flash.h')
-rw-r--r--src/cold-flash.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/cold-flash.h b/src/cold-flash.h
index 4e291eb..3f296b4 100644
--- a/src/cold-flash.h
+++ b/src/cold-flash.h
@@ -20,14 +20,13 @@
#ifndef COLD_FLASH_H
#define COLD_FLASH_H
-#include <usb.h>
-
#include "image.h"
+#include "usb-device.h"
/* Flash 2nd and secondary image in Cold Flash mode. After flashing device will boot secondary image */
-int cold_flash(usb_dev_handle * udev, struct image * x2nd, struct image * secondary);
+int cold_flash(struct usb_device_info * dev, struct image * x2nd, struct image * secondary);
/* Leave Cold Flashing mode and continue booting */
-int leave_cold_flash(usb_dev_handle * udev);
+int leave_cold_flash(struct usb_device_info * dev);
#endif