From: Mike Frysinger Date: Fri, 21 May 2010 08:37:42 +0000 (-0400) Subject: USB: isp1362: fix inw warning on Blackfin systems X-Git-Tag: v2.6.35-rc2~17^2~13 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=0c8a32dff4f9ebed3e067e52e12842d7d7e047a0;p=~shefty%2Frdma-dev.git 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 Signed-off-by: Greg Kroah-Hartman --- 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); } }