zaurus.c (6ad390a25a9d1d8606b9b826878f0a30639dc2b3) | zaurus.c (d632eb1bf22e11def74e4e53cc47d790fbdba105) |
---|---|
1/* 2 * Copyright (C) 2002 Pavel Machek <pavel@ucw.cz> 3 * Copyright (C) 2002-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. --- 348 unchanged lines hidden (view full) --- 357 .name = "zaurus", 358 .id_table = products, 359 .probe = usbnet_probe, 360 .disconnect = usbnet_disconnect, 361 .suspend = usbnet_suspend, 362 .resume = usbnet_resume, 363}; 364 | 1/* 2 * Copyright (C) 2002 Pavel Machek <pavel@ucw.cz> 3 * Copyright (C) 2002-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. --- 348 unchanged lines hidden (view full) --- 357 .name = "zaurus", 358 .id_table = products, 359 .probe = usbnet_probe, 360 .disconnect = usbnet_disconnect, 361 .suspend = usbnet_suspend, 362 .resume = usbnet_resume, 363}; 364 |
365static int __init zaurus_init(void) 366{ 367 return usb_register(&zaurus_driver); 368} 369module_init(zaurus_init); | 365module_usb_driver(zaurus_driver); |
370 | 366 |
371static void __exit zaurus_exit(void) 372{ 373 usb_deregister(&zaurus_driver); 374} 375module_exit(zaurus_exit); 376 | |
377MODULE_AUTHOR("Pavel Machek, David Brownell"); 378MODULE_DESCRIPTION("Sharp Zaurus PDA, and compatible products"); 379MODULE_LICENSE("GPL"); | 367MODULE_AUTHOR("Pavel Machek, David Brownell"); 368MODULE_DESCRIPTION("Sharp Zaurus PDA, and compatible products"); 369MODULE_LICENSE("GPL"); |