#include <linux/kernel.h>
#include <linux/tty.h>
#include <linux/slab.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/module.h>
#include <linux/usb.h>
#include <linux/usb/serial.h>
#include <linux/uaccess.h>
static const struct usb_device_id id_table[] = …;
MODULE_DEVICE_TABLE(usb, id_table);
struct symbol_private { … };
static void symbol_int_callback(struct urb *urb)
{ … }
static int symbol_open(struct tty_struct *tty, struct usb_serial_port *port)
{ … }
static void symbol_close(struct usb_serial_port *port)
{ … }
static void symbol_throttle(struct tty_struct *tty)
{ … }
static void symbol_unthrottle(struct tty_struct *tty)
{ … }
static int symbol_port_probe(struct usb_serial_port *port)
{ … }
static void symbol_port_remove(struct usb_serial_port *port)
{ … }
static struct usb_serial_driver symbol_device = …;
static struct usb_serial_driver * const serial_drivers[] = …;
module_usb_serial_driver(…);
MODULE_LICENSE(…) …;