legousbtower.c (6548698f929814375fa5d62ae1db96959b0418c1) | legousbtower.c (33b9e16243fd69493be3ddda7be73226c8be586a) |
---|---|
1/* 2 * LEGO USB Tower driver 3 * 4 * Copyright (C) 2003 David Glance <davidgsf@sourceforge.net> 5 * 2001-2004 Juergen Stuber <starblue@users.sourceforge.net> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as --- 178 unchanged lines hidden (view full) --- 187 __u8 spare; 188 __u8 major; 189 __u8 minor; 190 __le16 build_no; /* little-endian */ 191} __attribute__ ((packed)); 192 193 194/* table of devices that work with this driver */ | 1/* 2 * LEGO USB Tower driver 3 * 4 * Copyright (C) 2003 David Glance <davidgsf@sourceforge.net> 5 * 2001-2004 Juergen Stuber <starblue@users.sourceforge.net> 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License as --- 178 unchanged lines hidden (view full) --- 187 __u8 spare; 188 __u8 major; 189 __u8 minor; 190 __le16 build_no; /* little-endian */ 191} __attribute__ ((packed)); 192 193 194/* table of devices that work with this driver */ |
195static struct usb_device_id tower_table [] = { | 195static const struct usb_device_id tower_table[] = { |
196 { USB_DEVICE(LEGO_USB_TOWER_VENDOR_ID, LEGO_USB_TOWER_PRODUCT_ID) }, 197 { } /* Terminating entry */ 198}; 199 200MODULE_DEVICE_TABLE (usb, tower_table); 201static DEFINE_MUTEX(open_disc_mutex); 202 203#define LEGO_USB_TOWER_MINOR_BASE 160 --- 890 unchanged lines hidden --- | 196 { USB_DEVICE(LEGO_USB_TOWER_VENDOR_ID, LEGO_USB_TOWER_PRODUCT_ID) }, 197 { } /* Terminating entry */ 198}; 199 200MODULE_DEVICE_TABLE (usb, tower_table); 201static DEFINE_MUTEX(open_disc_mutex); 202 203#define LEGO_USB_TOWER_MINOR_BASE 160 --- 890 unchanged lines hidden --- |