Hello,
I need your help. GCC gives me the errormessage
Code:
invalid lvalue in unary `&'
inside this function:
Code:
static int dpn_stop(struct net_device *dev)
{
init_waitqueue_head(&dpn_wq_term);
ioctl_disable_vme_int(3+(sgd->ctrl.un.diu_switch & 3));
free_irq(sgd->ctrl.un.irq, 0);
cli();
dpn_run = 0;
wait_event_interruptible(&dpn_wq_term, dpn_run == 0);
return 0;
}
at the line with wait_event_interruptible... We can't find the mistake we made. What did we do wrong regarding syntax?
We are translating a driver from an old Linux Kernel 2.2.14 to the new architecture of the Kernel 2.6. And this is one of the problems we run into.
Thanks a lot
Hendrik