Messages in this thread | | | Date | Mon, 10 Oct 2005 19:02:36 +0400 | From | Manu Abraham <> | Subject | Re: PCI driver |
| |
Jiri Slaby wrote:
>On 10/10/05, Manu Abraham <manu@linuxtv.org> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |