> >> This is exactly what I need. add_timer() calling function X in the > > init > >> and then add_timer() in function X. > >> > > > > > > No, I believe you want to do add_timer() calling function X in the init > > and then mod_timer() in function X (or del_timer() if your finished). > > I based my statement on the code for kbleds.c at: > http://www.tldp.org/LDP/lkmpg/2.6/html/lkmpg.html > My bad. I agree, that will work. As Nish says they both call __mod_timer() in the end. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/