patch-2.1.124 linux/include/linux/parport.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/linux_logo.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Sep 29 21:07:35 1998
- Orig file:
v2.1.123/linux/include/linux/parport.h
- Orig date:
Tue Jul 21 00:15:33 1998
diff -u --recursive --new-file v2.1.123/linux/include/linux/parport.h linux/include/linux/parport.h
@@ -273,7 +273,7 @@
/* parport_yield relinquishes the port if it would be helpful to other
* drivers. The return value is the same as for parport_claim.
*/
-extern __inline__ unsigned int parport_yield(struct pardevice *dev)
+extern __inline__ int parport_yield(struct pardevice *dev)
{
unsigned long int timeslip = (jiffies - dev->time);
if ((dev->port->waithead == NULL) || (timeslip < dev->timeslice))
@@ -285,7 +285,7 @@
/* parport_yield_blocking is the same but uses parport_claim_or_block
* instead of parport_claim.
*/
-extern __inline__ unsigned int parport_yield_blocking(struct pardevice *dev)
+extern __inline__ int parport_yield_blocking(struct pardevice *dev)
{
unsigned long int timeslip = (jiffies - dev->time);
if ((dev->port->waithead == NULL) || (timeslip < dev->timeslice))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov