summary refs log tree commit diff
path: root/virt/kvm
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2015-03-25 14:18:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-04-03 19:09:53 +0200
commitd30323f810e4da94eb75cf4bfe5165b9518c64df (patch)
treef33c583f908d0a4976effd60ceed789fce945da1 /virt/kvm
parent625a4c5910cc8aa63da2afcf662aeb2ca64458e1 (diff)
downloadlinux-d30323f810e4da94eb75cf4bfe5165b9518c64df.tar.gz
usb: musb: dsps: fix build on i386 when COMPILE_TEST is set
Commit 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
fixed a USB error on dm816x, but introduced a new build error on i386
when COMPILE_TEST is set:

drivers/usb/musb/musb_dsps.c: In function ‘dsps_read_fifo32’:
drivers/usb/musb/musb_dsps.c:624:3: error: implicit declaration of function
‘readsl’ [-Werror=implicit-function-declaration]
readsl(fifo, dst, len >> 2);

Let's fix this by using ioread32_rep() instead of readsl() as that's
more portable.

Fixes: 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: Bin Liu <binmlist@gmail.com>
Cc: Brian Hutchinson <b.hutchman@gmail.com>
Cc: George Cherian <george.cherian@ti.com>
Cc: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt/kvm')
0 files changed, 0 insertions, 0 deletions