20 lines
358 B
C
20 lines
358 B
C
#ifndef _USB_SERIAL_H
|
|
#define _USB_SERIAL_H
|
|
|
|
struct usb_serial_pdata {
|
|
char *manufacturer;
|
|
const char *productname;
|
|
u16 idVendor;
|
|
u16 idProduct;
|
|
int mode;
|
|
};
|
|
|
|
int usb_serial_register(struct usb_serial_pdata *pdata);
|
|
void usb_serial_unregister(void);
|
|
|
|
/* OBEX support is missing in barebox */
|
|
/* #define HAVE_OBEX */
|
|
|
|
#endif /* _USB_SERIAL_H */
|
|
|