/* Any callers of parport_wait_event() for this device are woken up.  */
long parport_set_timeout(struct pardevice *dev, long inactivity)
/* Any callers of parport_wait_event() for this device are woken up.  */
long parport_set_timeout(struct pardevice *dev, long inactivity)
{
	long int old = dev->timeout;
	dev->timeout = inactivity;
	if (dev->port->physport->cad == dev)
		parport_ieee1284_wakeup (dev->port);
	return old;
}