summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/Kconfig
diff options
context:
space:
mode:
authorMatt Porter <mporter@linaro.org>2014-02-03 16:29:09 +0100
committerFelipe Balbi <balbi@ti.com>2014-02-18 17:52:52 +0100
commit1a7ed5bec407478b9ce5e3267708110277851614 (patch)
tree697172938ca0e39ff209ccfe4638e986e5c0546e /drivers/usb/gadget/Kconfig
parentusb: musb: musb_cppi41: Handle ISOCH differently and not use the hrtimer. (diff)
downloadlinux-1a7ed5bec407478b9ce5e3267708110277851614.tar.xz
linux-1a7ed5bec407478b9ce5e3267708110277851614.zip
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 42f017afd366..3557c7e5040d 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