diff options
Diffstat (limited to 'include/linux/usb')
| -rw-r--r-- | include/linux/usb/ezusb.h | 16 | ||||
| -rw-r--r-- | include/linux/usb/serial.h | 4 |
2 files changed, 16 insertions, 4 deletions
diff --git a/include/linux/usb/ezusb.h b/include/linux/usb/ezusb.h new file mode 100644 index 00000000000..fc618d8d1e9 --- /dev/null +++ b/include/linux/usb/ezusb.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #ifndef __EZUSB_H | ||
| 2 | #define __EZUSB_H | ||
| 3 | |||
| 4 | |||
| 5 | extern int ezusb_writememory(struct usb_device *dev, int address, | ||
| 6 | unsigned char *data, int length, __u8 bRequest); | ||
| 7 | |||
| 8 | extern int ezusb_fx1_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
| 9 | extern int ezusb_fx2_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
| 10 | |||
| 11 | extern int ezusb_fx1_ihex_firmware_download(struct usb_device *dev, | ||
| 12 | const char *firmware_path); | ||
| 13 | extern int ezusb_fx2_ihex_firmware_download(struct usb_device *dev, | ||
| 14 | const char *firmware_path); | ||
| 15 | |||
| 16 | #endif /* __EZUSB_H */ | ||
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 5808713aa49..ef9be7e1e19 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h | |||
| @@ -301,10 +301,6 @@ extern void usb_serial_port_softint(struct usb_serial_port *port); | |||
| 301 | extern int usb_serial_suspend(struct usb_interface *intf, pm_message_t message); | 301 | extern int usb_serial_suspend(struct usb_interface *intf, pm_message_t message); |
| 302 | extern int usb_serial_resume(struct usb_interface *intf); | 302 | extern int usb_serial_resume(struct usb_interface *intf); |
| 303 | 303 | ||
| 304 | extern int ezusb_writememory(struct usb_device *dev, int address, | ||
| 305 | unsigned char *data, int length, __u8 bRequest); | ||
| 306 | extern int ezusb_set_reset(struct usb_device *dev, unsigned char reset_bit); | ||
| 307 | |||
| 308 | /* USB Serial console functions */ | 304 | /* USB Serial console functions */ |
| 309 | #ifdef CONFIG_USB_SERIAL_CONSOLE | 305 | #ifdef CONFIG_USB_SERIAL_CONSOLE |
| 310 | extern void usb_serial_console_init(int minor); | 306 | extern void usb_serial_console_init(int minor); |
