diff options
Diffstat (limited to 'drivers/usb/misc/auerswald.c')
-rw-r--r-- | drivers/usb/misc/auerswald.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/misc/auerswald.c b/drivers/usb/misc/auerswald.c index 1fef36e71c57..4fd2110b3411 100644 --- a/drivers/usb/misc/auerswald.c +++ b/drivers/usb/misc/auerswald.c | |||
@@ -806,7 +806,7 @@ static void auerbuf_releasebuf( pauerbuf_t bp) | |||
806 | 0 Initial, OK | 806 | 0 Initial, OK |
807 | -EINPROGRESS during submission until end | 807 | -EINPROGRESS during submission until end |
808 | -ENOENT if urb is unlinked | 808 | -ENOENT if urb is unlinked |
809 | -ETIMEDOUT Transfer timed out, NAK | 809 | -ETIME Device did not respond |
810 | -ENOMEM Memory Overflow | 810 | -ENOMEM Memory Overflow |
811 | -ENODEV Specified USB-device or bus doesn't exist | 811 | -ENODEV Specified USB-device or bus doesn't exist |
812 | -ENXIO URB already queued | 812 | -ENXIO URB already queued |
@@ -832,7 +832,7 @@ static int auerswald_status_retry (int status) | |||
832 | { | 832 | { |
833 | switch (status) { | 833 | switch (status) { |
834 | case 0: | 834 | case 0: |
835 | case -ETIMEDOUT: | 835 | case -ETIME: |
836 | case -EOVERFLOW: | 836 | case -EOVERFLOW: |
837 | case -EAGAIN: | 837 | case -EAGAIN: |
838 | case -EPIPE: | 838 | case -EPIPE: |
@@ -1858,7 +1858,7 @@ static int auerchar_release (struct inode *inode, struct file *file) | |||
1858 | 1858 | ||
1859 | /*----------------------------------------------------------------------*/ | 1859 | /*----------------------------------------------------------------------*/ |
1860 | /* File operation structure */ | 1860 | /* File operation structure */ |
1861 | static struct file_operations auerswald_fops = | 1861 | static const struct file_operations auerswald_fops = |
1862 | { | 1862 | { |
1863 | .owner = THIS_MODULE, | 1863 | .owner = THIS_MODULE, |
1864 | .llseek = no_llseek, | 1864 | .llseek = no_llseek, |