From: Matt Porter Date: Mon, 3 Feb 2014 15:29:09 +0000 (-0500) Subject: usb: gadget: s3c-hsotg: fix build on x86 and other architectures X-Git-Tag: v3.15-rc1~137^2~25^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a7ed5bec407478b9ce5e3267708110277851614;p=pandora-kernel.git 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed