From: David H. <dho...@re...> - 2007-04-04 19:42:48
|
David Howells <dho...@re...> wrote: > > This is due to the changes in the workque.h layout. > > I've tried to declare a struct delayed_work *ts_delay and used > > &ts_delay->work instead of &work. But getting same error. > > Looking at the vanilla code: > > static DECLARE_WORK(work, do_softint, 0); > > should be: > > static DECLARE_DELAYED_WORK(work, do_softint, 0); Actually, no it shouldn't. It should be: static DECLARE_DELAYED_WORK(work, do_softint); And the do_softint function should be: static void do_softint(struct work_struct *work) David |