lkml.org 
[lkml]   [1997]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Device Initialization.
Date
> >	I've looked at kernel sources, and I can't find a place where to
> >put a code to automatically initialize my device at startup... Where's it?
>
> Use:
> __initfunc(int your_init(<init args>))

This doesn't do what you think. It just marks the function as discardable.

--
Andrew E. Mileski mailto:aem@netcom.ca

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.042 / U:0.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site