Re: PCI driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jiri Slaby wrote:

On 10/10/05, Manu Abraham <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux