usb: gadget: s3c-hsotg: fix build on x86 and other architectures
authorMatt Porter <mporter@linaro.org>
Mon, 3 Feb 2014 15:29:09 +0000 (10:29 -0500)
committerFelipe Balbi <balbi@ti.com>
Tue, 18 Feb 2014 16:52:52 +0000 (10:52 -0600)
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: Matt Porter <mporter@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/s3c-hsotg.c

Simple merge
Simple merge