msi2500.c (f26e8817b235d8764363bffcc9cbfc61867371f2) | msi2500.c (7fb2e072d41b1da5ddf29a1ba62f0e380d94a855) |
---|---|
1/* 2 * Mirics MSi2500 driver 3 * Mirics MSi3101 SDR Dongle driver 4 * 5 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 1294 unchanged lines hidden (view full) --- 1303 v4l2_device_unregister(&dev->v4l2_dev); 1304err_free_mem: 1305 kfree(dev); 1306err: 1307 return ret; 1308} 1309 1310/* USB device ID list */ | 1/* 2 * Mirics MSi2500 driver 3 * Mirics MSi3101 SDR Dongle driver 4 * 5 * Copyright (C) 2013 Antti Palosaari <crope@iki.fi> 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by --- 1294 unchanged lines hidden (view full) --- 1303 v4l2_device_unregister(&dev->v4l2_dev); 1304err_free_mem: 1305 kfree(dev); 1306err: 1307 return ret; 1308} 1309 1310/* USB device ID list */ |
1311static struct usb_device_id msi2500_id_table[] = { | 1311static const struct usb_device_id msi2500_id_table[] = { |
1312 {USB_DEVICE(0x1df7, 0x2500)}, /* Mirics MSi3101 SDR Dongle */ 1313 {USB_DEVICE(0x2040, 0xd300)}, /* Hauppauge WinTV 133559 LF */ 1314 {} 1315}; 1316MODULE_DEVICE_TABLE(usb, msi2500_id_table); 1317 1318/* USB subsystem interface */ 1319static struct usb_driver msi2500_driver = { 1320 .name = KBUILD_MODNAME, 1321 .probe = msi2500_probe, 1322 .disconnect = msi2500_disconnect, 1323 .id_table = msi2500_id_table, 1324}; 1325 1326module_usb_driver(msi2500_driver); 1327 1328MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); 1329MODULE_DESCRIPTION("Mirics MSi3101 SDR Dongle"); 1330MODULE_LICENSE("GPL"); | 1312 {USB_DEVICE(0x1df7, 0x2500)}, /* Mirics MSi3101 SDR Dongle */ 1313 {USB_DEVICE(0x2040, 0xd300)}, /* Hauppauge WinTV 133559 LF */ 1314 {} 1315}; 1316MODULE_DEVICE_TABLE(usb, msi2500_id_table); 1317 1318/* USB subsystem interface */ 1319static struct usb_driver msi2500_driver = { 1320 .name = KBUILD_MODNAME, 1321 .probe = msi2500_probe, 1322 .disconnect = msi2500_disconnect, 1323 .id_table = msi2500_id_table, 1324}; 1325 1326module_usb_driver(msi2500_driver); 1327 1328MODULE_AUTHOR("Antti Palosaari <crope@iki.fi>"); 1329MODULE_DESCRIPTION("Mirics MSi3101 SDR Dongle"); 1330MODULE_LICENSE("GPL"); |