Re: PCI driver

From: Manu Abraham
Date: Mon Oct 10 2005 - 10:15:44 EST


Jiri Slaby wrote:

On 10/10/05, Manu Abraham <manu@xxxxxxxxxxx> wrote:


I have fixed most of the stuff, it is partly working, not ready yet as
there are some more things to be added to ..
I have attached what i was working on.


One more thing.



static int __devinit mantis_pci_init(void)
{
return pci_register_driver(&mantis_pci_driver);
}

static void __devexit mantis_pci_exit(void)
{
pci_unregister_driver(&mantis_pci_driver);
}


These should be __init and __exit, which could be freed in more cases
(only few bytes, but...).



Ack'd..

Thanks,
Manu


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/