diff options
author | Rene Buergel <rene.buergel@sohard.de> | 2012-09-13 16:14:38 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-14 00:59:51 -0400 |
commit | 99495c7061892f0312c0119725b550bb221634ce (patch) | |
tree | cde4743b6d5461d666f5158080a24dba057abfe6 /include/linux/usb | |
parent | 8321652ae22f38830af5b553f3a316d68948ddce (diff) |
USB: ezusb: remove dependancy on usb_serial
This patch removes the dependency on the usb_serial interface and names
some magic constants
Signed-off-by: René Bürgel <rene.buergel@sohard.de>
--
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/usb')
-rw-r--r-- | include/linux/usb/serial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/usb/serial.h b/include/linux/usb/serial.h index 9e9a0a8991e4..6bed6db619b2 100644 --- a/include/linux/usb/serial.h +++ b/include/linux/usb/serial.h | |||
@@ -301,9 +301,9 @@ 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_serial *serial, int address, | 304 | extern int ezusb_writememory(struct usb_device *dev, int address, |
305 | unsigned char *data, int length, __u8 bRequest); | 305 | unsigned char *data, int length, __u8 bRequest); |
306 | extern int ezusb_set_reset(struct usb_serial *serial, unsigned char reset_bit); | 306 | extern int ezusb_set_reset(struct usb_device *dev, unsigned char reset_bit); |
307 | 307 | ||
308 | /* USB Serial console functions */ | 308 | /* USB Serial console functions */ |
309 | #ifdef CONFIG_USB_SERIAL_CONSOLE | 309 | #ifdef CONFIG_USB_SERIAL_CONSOLE |