lkml.org 
[lkml]   [2005]   [Oct]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 10 Oct 2005 19:02:36 +0400
FromManu Abraham <>
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-10-10 15:17    [from the cache]
©2003-2008