From: Mike Frysinger Date: Fri, 21 May 2010 08:37:42 +0000 (-0400) Subject: USB: isp1362: fix inw warning on Blackfin systems X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c8a32dff4f9ebed3e067e52e12842d7d7e047a0;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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) unsigned short *bp = (unsigned short *)buf; while (len--) { DUMMY_DELAY_ACCESS; - *bp++ = inw((void *)addr); + *bp++ = inw(addr); } }