diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 04:37:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 16:16:18 -0400 |
commit | 0c8a32dff4f9ebed3e067e52e12842d7d7e047a0 (patch) | |
tree | f5202d201eae0792c416adc27fe1b730a6024db6 /drivers/usb/host/isp1362.h | |
parent | b41709f1263bb1ad37efc43fea0bb0b670c12e78 (diff) |
USB: isp1362: fix inw warning on Blackfin systems
The Blackfin code is incorrectly casting the argument to inw() to a pointer.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/isp1362.h')
-rw-r--r-- | drivers/usb/host/isp1362.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/isp1362.h b/drivers/usb/host/isp1362.h index 5151516ea1de..d995351f9bed 100644 --- a/drivers/usb/host/isp1362.h +++ b/drivers/usb/host/isp1362.h | |||
@@ -65,7 +65,7 @@ static inline void delayed_insw(unsigned int addr, void *buf, int len) | |||
65 | unsigned short *bp = (unsigned short *)buf; | 65 | unsigned short *bp = (unsigned short *)buf; |
66 | while (len--) { | 66 | while (len--) { |
67 | DUMMY_DELAY_ACCESS; | 67 | DUMMY_DELAY_ACCESS; |
68 | *bp++ = inw((void *)addr); | 68 | *bp++ = inw(addr); |
69 | } | 69 | } |
70 | } | 70 | } |
71 | 71 | ||