Standard solution is as follows: variable declaration: (*myFunc)(struct skbuff *)=0; usage: if(myFunc) { myFunc(skb); } On many legal situations there are valid entry-points that can be registered and they get called under certain circumstances. Look out for them before you hardcode inside the kernel. On Mon, 4 Mar 2002, Amit Kucheria wrote: > Hi, > > I have some code in the kernel which needs to call functions defined in > modules. How can i achieve this without getting "Unresolved dependencies" > during linking of the kernel. > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/