summaryrefslogtreecommitdiffstats
path: root/include/usb/usbserial.h
blob: e047ca7e170d6234d5e0e87a8352238949169b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _USB_SERIAL_H
#define _USB_SERIAL_H

struct usb_serial_pdata {
	char		*manufacturer;
	const char		*productname;
	u16			idVendor;
	u16			idProduct;
	bool			acm;
};

int usb_serial_register(struct usb_serial_pdata *pdata);
void usb_serial_unregister(void);

#endif /* _USB_SERIAL_H */