mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
drivers/atm/he.c: convert to module_pci_driver
Signed-off-by: Libo Chen <[email protected]> Cc: Chas Williams <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
c9771bfd6d
commit
a2a69f0b35
1 changed files with 1 additions and 12 deletions
|
|
@ -2865,15 +2865,4 @@ static struct pci_driver he_driver = {
|
|||
.id_table = he_pci_tbl,
|
||||
};
|
||||
|
||||
static int __init he_init(void)
|
||||
{
|
||||
return pci_register_driver(&he_driver);
|
||||
}
|
||||
|
||||
static void __exit he_cleanup(void)
|
||||
{
|
||||
pci_unregister_driver(&he_driver);
|
||||
}
|
||||
|
||||
module_init(he_init);
|
||||
module_exit(he_cleanup);
|
||||
module_pci_driver(he_driver);
|
||||
|
|
|
|||
Loading…
Reference in a new issue