flexcop-usb.c (9095bf25ea08135a5b74875dd0e3eeaddc4218a0) | flexcop-usb.c (7fb2e072d41b1da5ddf29a1ba62f0e380d94a855) |
---|---|
1/* 2 * Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III 3 * flexcop-usb.c - covers the USB part 4 * see flexcop.c for copyright information 5 */ 6#define FC_LOG_PREFIX "flexcop_usb" 7#include "flexcop-usb.h" 8#include "flexcop-common.h" --- 582 unchanged lines hidden (view full) --- 591 struct flexcop_usb *fc_usb = usb_get_intfdata(intf); 592 flexcop_usb_transfer_exit(fc_usb); 593 flexcop_device_exit(fc_usb->fc_dev); 594 flexcop_usb_exit(fc_usb); 595 flexcop_device_kfree(fc_usb->fc_dev); 596 info("%s successfully deinitialized and disconnected.", DRIVER_NAME); 597} 598 | 1/* 2 * Linux driver for digital TV devices equipped with B2C2 FlexcopII(b)/III 3 * flexcop-usb.c - covers the USB part 4 * see flexcop.c for copyright information 5 */ 6#define FC_LOG_PREFIX "flexcop_usb" 7#include "flexcop-usb.h" 8#include "flexcop-common.h" --- 582 unchanged lines hidden (view full) --- 591 struct flexcop_usb *fc_usb = usb_get_intfdata(intf); 592 flexcop_usb_transfer_exit(fc_usb); 593 flexcop_device_exit(fc_usb->fc_dev); 594 flexcop_usb_exit(fc_usb); 595 flexcop_device_kfree(fc_usb->fc_dev); 596 info("%s successfully deinitialized and disconnected.", DRIVER_NAME); 597} 598 |
599static struct usb_device_id flexcop_usb_table [] = { | 599static const struct usb_device_id flexcop_usb_table[] = { |
600 { USB_DEVICE(0x0af7, 0x0101) }, 601 { } 602}; 603MODULE_DEVICE_TABLE (usb, flexcop_usb_table); 604 605/* usb specific object needed to register this driver with the usb subsystem */ 606static struct usb_driver flexcop_usb_driver = { 607 .name = "b2c2_flexcop_usb", 608 .probe = flexcop_usb_probe, 609 .disconnect = flexcop_usb_disconnect, 610 .id_table = flexcop_usb_table, 611}; 612 613module_usb_driver(flexcop_usb_driver); 614 615MODULE_AUTHOR(DRIVER_AUTHOR); 616MODULE_DESCRIPTION(DRIVER_NAME); 617MODULE_LICENSE("GPL"); | 600 { USB_DEVICE(0x0af7, 0x0101) }, 601 { } 602}; 603MODULE_DEVICE_TABLE (usb, flexcop_usb_table); 604 605/* usb specific object needed to register this driver with the usb subsystem */ 606static struct usb_driver flexcop_usb_driver = { 607 .name = "b2c2_flexcop_usb", 608 .probe = flexcop_usb_probe, 609 .disconnect = flexcop_usb_disconnect, 610 .id_table = flexcop_usb_table, 611}; 612 613module_usb_driver(flexcop_usb_driver); 614 615MODULE_AUTHOR(DRIVER_AUTHOR); 616MODULE_DESCRIPTION(DRIVER_NAME); 617MODULE_LICENSE("GPL"); |