softingcs: use module_pcmcia_driver
Signed-off-by: Kurt Van Dijck <kurt.van.dijck@eia.be> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7fced565e5
commit
a750fa4edd
|
@ -340,18 +340,7 @@ static struct pcmcia_driver softingcs_driver = {
|
||||||
.remove = softingcs_remove,
|
.remove = softingcs_remove,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __init softingcs_start(void)
|
module_pcmcia_driver(&softingcs_driver);
|
||||||
{
|
|
||||||
return pcmcia_register_driver(&softingcs_driver);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void __exit softingcs_stop(void)
|
|
||||||
{
|
|
||||||
pcmcia_unregister_driver(&softingcs_driver);
|
|
||||||
}
|
|
||||||
|
|
||||||
module_init(softingcs_start);
|
|
||||||
module_exit(softingcs_stop);
|
|
||||||
|
|
||||||
MODULE_DESCRIPTION("softing CANcard driver"
|
MODULE_DESCRIPTION("softing CANcard driver"
|
||||||
", links PCMCIA card to softing driver");
|
", links PCMCIA card to softing driver");
|
||||||
|
|
Loading…
Reference in New Issue