On Fri, 2007-04-20 at 15:57 +0400, igor pavlenko wrote: > hello, > i'm using > pm_set_ops(&my_pm_ops); > function to register custom hw-dependent suspend routines, but when I > try to compile this code as module it warns, that symbol pm_set_ops > undefined, but when compiling as built-in there is not any problem. > The questions is > 1) is it stupid to try implement such kind of things as module? > 2) how i can figure out if it is not? > > -- > ÐгоÑÑ Ðавленко > ipavlster@xxxxxxxxx See the thing is that You are going to use the function "pm_set_ops" which is defined in some other module or kernel code which is not exported . Or the other possibility is the module which defines this function may not be there. So try to find out that function using grep. And check whether that is exported or not. If that is module{ which define function } then try to load that module first and then load your module. Cheers, Yogesh Tillu. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ