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 13:16:18 -0700 |
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 5151516ea1d..d995351f9be 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); } } |