plusb.c (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | plusb.c (d632eb1bf22e11def74e4e53cc47d790fbdba105) |
---|---|
1/* 2 * PL-2301/2302 USB host-to-host link cables 3 * Copyright (C) 2000-2005 by David Brownell 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 140 unchanged lines hidden (view full) --- 149 .name = "plusb", 150 .id_table = products, 151 .probe = usbnet_probe, 152 .disconnect = usbnet_disconnect, 153 .suspend = usbnet_suspend, 154 .resume = usbnet_resume, 155}; 156 | 1/* 2 * PL-2301/2302 USB host-to-host link cables 3 * Copyright (C) 2000-2005 by David Brownell 4 * 5 * This program is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License as published by 7 * the Free Software Foundation; either version 2 of the License, or 8 * (at your option) any later version. --- 140 unchanged lines hidden (view full) --- 149 .name = "plusb", 150 .id_table = products, 151 .probe = usbnet_probe, 152 .disconnect = usbnet_disconnect, 153 .suspend = usbnet_suspend, 154 .resume = usbnet_resume, 155}; 156 |
157static int __init plusb_init(void) 158{ 159 return usb_register(&plusb_driver); 160} 161module_init(plusb_init); | 157module_usb_driver(plusb_driver); |
162 | 158 |
163static void __exit plusb_exit(void) 164{ 165 usb_deregister(&plusb_driver); 166} 167module_exit(plusb_exit); 168 | |
169MODULE_AUTHOR("David Brownell"); 170MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1 USB Host to Host Link Driver"); 171MODULE_LICENSE("GPL"); | 159MODULE_AUTHOR("David Brownell"); 160MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1 USB Host to Host Link Driver"); 161MODULE_LICENSE("GPL"); |