diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-05-21 08:37:42 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-04 20:16:18 (GMT) |
commit | 0c8a32dff4f9ebed3e067e52e12842d7d7e047a0 (patch) | |
tree | f5202d201eae0792c416adc27fe1b730a6024db6 /drivers | |
parent | b41709f1263bb1ad37efc43fea0bb0b670c12e78 (diff) | |
download | linux-fsl-qoriq-0c8a32dff4f9ebed3e067e52e12842d7d7e047a0.tar.xz |
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')
-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 5151516..d995351 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) unsigned short *bp = (unsigned short *)buf; while (len--) { DUMMY_DELAY_ACCESS; - *bp++ = inw((void *)addr); + *bp++ = inw(addr); } } |