oxu210hp-hcd.c (6ad390a25a9d1d8606b9b826878f0a30639dc2b3) | oxu210hp-hcd.c (cc27c96c2bee93068bfc60ea6b09611d88cef429) |
---|---|
1/* 2 * Copyright (c) 2008 Rodolfo Giometti <giometti@linux.it> 3 * Copyright (c) 2008 Eurotech S.p.A. <info@eurtech.it> 4 * 5 * This code is *strongly* based on EHCI-HCD code by David Brownell since 6 * the chip is a quasi-EHCI compatible. 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 3937 unchanged lines hidden (view full) --- 3946 .suspend = oxu_drv_suspend, 3947 .resume = oxu_drv_resume, 3948 .driver = { 3949 .name = "oxu210hp-hcd", 3950 .bus = &platform_bus_type 3951 } 3952}; 3953 | 1/* 2 * Copyright (c) 2008 Rodolfo Giometti <giometti@linux.it> 3 * Copyright (c) 2008 Eurotech S.p.A. <info@eurtech.it> 4 * 5 * This code is *strongly* based on EHCI-HCD code by David Brownell since 6 * the chip is a quasi-EHCI compatible. 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 3937 unchanged lines hidden (view full) --- 3946 .suspend = oxu_drv_suspend, 3947 .resume = oxu_drv_resume, 3948 .driver = { 3949 .name = "oxu210hp-hcd", 3950 .bus = &platform_bus_type 3951 } 3952}; 3953 |
3954static int __init oxu_module_init(void) 3955{ 3956 int retval = 0; | 3954module_platform_driver(oxu_driver); |
3957 | 3955 |
3958 retval = platform_driver_register(&oxu_driver); 3959 if (retval < 0) 3960 return retval; 3961 3962 return retval; 3963} 3964 3965static void __exit oxu_module_cleanup(void) 3966{ 3967 platform_driver_unregister(&oxu_driver); 3968} 3969 3970module_init(oxu_module_init); 3971module_exit(oxu_module_cleanup); 3972 | |
3973MODULE_DESCRIPTION("Oxford OXU210HP HCD driver - ver. " DRIVER_VERSION); 3974MODULE_AUTHOR("Rodolfo Giometti <giometti@linux.it>"); 3975MODULE_LICENSE("GPL"); | 3956MODULE_DESCRIPTION("Oxford OXU210HP HCD driver - ver. " DRIVER_VERSION); 3957MODULE_AUTHOR("Rodolfo Giometti <giometti@linux.it>"); 3958MODULE_LICENSE("GPL"); |