mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
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>
This commit is contained in:
parent
b41709f126
commit
0c8a32dff4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue