I need your help. GCC gives me the errormessage
invalid lvalue in unary `&'
inside this function:
static int dpn_stop(struct net_device *dev)
ioctl_disable_vme_int(3+(sgd->ctrl.un.diu_switch & 3));
dpn_run = 0;
wait_event_interruptible(&dpn_wq_term, dpn_run == 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