summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorMatt Porter <mporter@linaro.org>2014-02-03 10:29:09 -0500
committerFelipe Balbi <balbi@ti.com>2014-02-18 10:52:52 -0600
commit1a7ed5bec407478b9ce5e3267708110277851614 (patch)
tree697172938ca0e39ff209ccfe4638e986e5c0546e /drivers/usb/gadget/Kconfig
parent1af54b7a40ca9bbd549e626be01870caa3f0299d (diff)
downloadop-kernel-dev-1a7ed5bec407478b9ce5e3267708110277851614.zip
op-kernel-dev-1a7ed5bec407478b9ce5e3267708110277851614.tar.gz
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: Matt Porter <mporter@linaro.org> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/Kconfig')
-rw-r--r--drivers/usb/gadget/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 42f017a..3557c7e 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -301,7 +301,6 @@ config USB_PXA27X
gadget drivers to also be dynamically linked.
config USB_S3C_HSOTG
- depends on ARM
tristate "Designware/S3C HS/OtG USB Device controller"
help
The Designware USB2.0 high-speed gadget controller
OpenPOWER on IntegriCloud