Commit 5cc08c4c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] USB: fix jiffies warning in uss720.c

parent f4e0fb85
...@@ -146,7 +146,7 @@ static int change_mode(struct parport *pp, int m) ...@@ -146,7 +146,7 @@ static int change_mode(struct parport *pp, int m)
if (m <= ECR_PS2 && !(priv->reg[1] & 0x20)) { if (m <= ECR_PS2 && !(priv->reg[1] & 0x20)) {
/* This mode resets the FIFO, so we may /* This mode resets the FIFO, so we may
* have to wait for it to drain first. */ * have to wait for it to drain first. */
long expire = jiffies + pp->physport->cad->timeout; unsigned long expire = jiffies + pp->physport->cad->timeout;
switch (mode) { switch (mode) {
case ECR_PPF: /* Parallel Port FIFO mode */ case ECR_PPF: /* Parallel Port FIFO mode */
case ECR_ECP: /* ECP Parallel Port mode */ case ECR_ECP: /* ECP Parallel Port mode */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment