usblcd.c (32032df6c2f6c9c6b2ada2ce42322231824f70c2) | usblcd.c (33b9e16243fd69493be3ddda7be73226c8be586a) |
---|---|
1/***************************************************************************** 2 * USBLCD Kernel Driver * 3 * Version 1.05 * 4 * (C) 2005 Georges Toth <g.toth@e-biz.lu> * 5 * * 6 * This file is licensed under the GPL. See COPYING in the package. * 7 * Based on usb-skeleton.c 2.0 by Greg Kroah-Hartman (greg@kroah.com) * 8 * * --- 16 unchanged lines hidden (view full) --- 25#define DRIVER_VERSION "USBLCD Driver Version 1.05" 26 27#define USBLCD_MINOR 144 28 29#define IOCTL_GET_HARD_VERSION 1 30#define IOCTL_GET_DRV_VERSION 2 31 32 | 1/***************************************************************************** 2 * USBLCD Kernel Driver * 3 * Version 1.05 * 4 * (C) 2005 Georges Toth <g.toth@e-biz.lu> * 5 * * 6 * This file is licensed under the GPL. See COPYING in the package. * 7 * Based on usb-skeleton.c 2.0 by Greg Kroah-Hartman (greg@kroah.com) * 8 * * --- 16 unchanged lines hidden (view full) --- 25#define DRIVER_VERSION "USBLCD Driver Version 1.05" 26 27#define USBLCD_MINOR 144 28 29#define IOCTL_GET_HARD_VERSION 1 30#define IOCTL_GET_DRV_VERSION 2 31 32 |
33static struct usb_device_id id_table [] = { | 33static const struct usb_device_id id_table[] = { |
34 { .idVendor = 0x10D2, .match_flags = USB_DEVICE_ID_MATCH_VENDOR, }, 35 { }, 36}; 37MODULE_DEVICE_TABLE (usb, id_table); 38 39static DEFINE_MUTEX(open_disc_mutex); 40 41 --- 413 unchanged lines hidden --- | 34 { .idVendor = 0x10D2, .match_flags = USB_DEVICE_ID_MATCH_VENDOR, }, 35 { }, 36}; 37MODULE_DEVICE_TABLE (usb, id_table); 38 39static DEFINE_MUTEX(open_disc_mutex); 40 41 --- 413 unchanged lines hidden --- |