|
@@ -391,21 +391,10 @@ static struct platform_driver bpp_sbus_driver = {
|
|
|
.remove = __devexit_p(bpp_remove),
|
|
|
};
|
|
|
|
|
|
-static int __init parport_sunbpp_init(void)
|
|
|
-{
|
|
|
- return platform_driver_register(&bpp_sbus_driver);
|
|
|
-}
|
|
|
-
|
|
|
-static void __exit parport_sunbpp_exit(void)
|
|
|
-{
|
|
|
- platform_driver_unregister(&bpp_sbus_driver);
|
|
|
-}
|
|
|
+module_platform_driver(bpp_sbus_driver);
|
|
|
|
|
|
MODULE_AUTHOR("Derrick J Brashear");
|
|
|
MODULE_DESCRIPTION("Parport Driver for Sparc bidirectional Port");
|
|
|
MODULE_SUPPORTED_DEVICE("Sparc Bidirectional Parallel Port");
|
|
|
MODULE_VERSION("2.0");
|
|
|
MODULE_LICENSE("GPL");
|
|
|
-
|
|
|
-module_init(parport_sunbpp_init)
|
|
|
-module_exit(parport_sunbpp_exit)
|