trancevibrator.c (a9de18eb761f7c1c860964b2e5addc1a35c7e861) | trancevibrator.c (33b9e16243fd69493be3ddda7be73226c8be586a) |
---|---|
1/* 2 * PlayStation 2 Trance Vibrator driver 3 * 4 * Copyright (C) 2006 Sam Hocevar <sam@zoy.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 19 unchanged lines hidden (view full) --- 28/* Version Information */ 29#define DRIVER_VERSION "v1.1" 30#define DRIVER_AUTHOR "Sam Hocevar, sam@zoy.org" 31#define DRIVER_DESC "PlayStation 2 Trance Vibrator driver" 32 33#define TRANCEVIBRATOR_VENDOR_ID 0x0b49 /* ASCII Corporation */ 34#define TRANCEVIBRATOR_PRODUCT_ID 0x064f /* Trance Vibrator */ 35 | 1/* 2 * PlayStation 2 Trance Vibrator driver 3 * 4 * Copyright (C) 2006 Sam Hocevar <sam@zoy.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 19 unchanged lines hidden (view full) --- 28/* Version Information */ 29#define DRIVER_VERSION "v1.1" 30#define DRIVER_AUTHOR "Sam Hocevar, sam@zoy.org" 31#define DRIVER_DESC "PlayStation 2 Trance Vibrator driver" 32 33#define TRANCEVIBRATOR_VENDOR_ID 0x0b49 /* ASCII Corporation */ 34#define TRANCEVIBRATOR_PRODUCT_ID 0x064f /* Trance Vibrator */ 35 |
36static struct usb_device_id id_table [] = { | 36static const struct usb_device_id id_table[] = { |
37 { USB_DEVICE(TRANCEVIBRATOR_VENDOR_ID, TRANCEVIBRATOR_PRODUCT_ID) }, 38 { }, 39}; 40MODULE_DEVICE_TABLE (usb, id_table); 41 42/* Driver-local specific stuff */ 43struct trancevibrator { 44 struct usb_device *udev; --- 118 unchanged lines hidden --- | 37 { USB_DEVICE(TRANCEVIBRATOR_VENDOR_ID, TRANCEVIBRATOR_PRODUCT_ID) }, 38 { }, 39}; 40MODULE_DEVICE_TABLE (usb, id_table); 41 42/* Driver-local specific stuff */ 43struct trancevibrator { 44 struct usb_device *udev; --- 118 unchanged lines hidden --- |