Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1a7ed5be authored by Matt Porter's avatar Matt Porter Committed by Felipe Balbi
Browse files

usb: gadget: s3c-hsotg: fix build on x86 and other architectures



The readsl and writesl I/O accessors are only defined on some
architectures. The driver currently depends on CONFIG_ARM because
the build breaks on x86, in particular. Switch to use of ioread32_rep
and iowrite32_rep to fix build on all architectures and remove the
CONFIG_ARM dependency.

Also update printk formatting to handle a long long dma_addr_t to avoid
warnings on !32-bit architectures.

Signed-off-by: default avatarMatt Porter <mporter@linaro.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 1af54b7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment