#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
static int usb_serial_device_match(struct device *dev,
const struct device_driver *drv)
{ … }
static int usb_serial_device_probe(struct device *dev)
{ … }
static void usb_serial_device_remove(struct device *dev)
{ … }
static ssize_t new_id_store(struct device_driver *driver,
const char *buf, size_t count)
{ … }
static ssize_t new_id_show(struct device_driver *driver, char *buf)
{ … }
static DRIVER_ATTR_RW(new_id);
static struct attribute *usb_serial_drv_attrs[] = …;
ATTRIBUTE_GROUPS(…);
static void free_dynids(struct usb_serial_driver *drv)
{ … }
const struct bus_type usb_serial_bus_type = …;
int usb_serial_bus_register(struct usb_serial_driver *driver)
{ … }
void usb_serial_bus_deregister(struct usb_serial_driver *driver)
{ … }