title: Linux transfer parameter for function in DECLARE_WORK
body: <p>I try to programm a Event-Workqueue, but I meet some problems.</p>
  
  <p>I use a Linux 2.6.36 Kernel. And the DECLARE_WORK function changed from 3 parameters to 2.</p>
  
  <p>The question is, the old declaration was </p>
  
  <pre><code> DECLARE_WORK  (struct work_struct name,  void (*func)(void *),  void *data); 
  </code></pre>
  
  <p>And the new one is</p>
  
  <pre><code> DECLARE_WORK  (struct work_struct name,  void (*func)(void *)); 
  </code></pre>
  
  <p>I think the void *data pointer was to give the func parameters. Is that right?
  And how can I do that with the new version of DECLARE_WORK?</p>
  
  <p>Thanks for the help</p>
  
  <p>Peter</p>