summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-jz4740
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2016-04-18 20:58:52 +0200
committerRalf Baechle <ralf@linux-mips.org>2016-05-13 19:09:24 +0200
commit9d1e7875fafc45dbcbe3d816b022aa1f17219f32 (patch)
tree44807da199e9ba3dc6f2a317d8b37627f94c61dc /arch/mips/include/asm/mach-jz4740
parentMIPS: JZ4740: Qi LB60: Remove support for AVT2 variant (diff)
downloadlinux-9d1e7875fafc45dbcbe3d816b022aa1f17219f32.tar.xz
linux-9d1e7875fafc45dbcbe3d816b022aa1f17219f32.zip
MIPS: JZ4740: Probe OHCI platform device via DT
The DT fragment will select the ohci-platform driver, since that can handle the JZ4740 OHCI just fine. While I don't have a JZ4740-based board with anything connected to the USB host controller, I did test the generic OHCI driver successfully on a JZ4770-based board. The device is disabled by default; boards that want to use it can override the "status" property. The mass-production Qi LB60 boards don't use the USB host controller. Signed-off-by: Maarten ter Huurne <maarten@treewalker.org> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Paul Cercueil <paul@crapouillou.net> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/13104/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-jz4740')
-rw-r--r--arch/mips/include/asm/mach-jz4740/platform.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/mips/include/asm/mach-jz4740/platform.h b/arch/mips/include/asm/mach-jz4740/platform.h
index 32cfbe6a191b..073b8bfbb3b3 100644
--- a/arch/mips/include/asm/mach-jz4740/platform.h
+++ b/arch/mips/include/asm/mach-jz4740/platform.h
@@ -19,7 +19,6 @@
#include <linux/platform_device.h>
-extern struct platform_device jz4740_usb_ohci_device;
extern struct platform_device jz4740_udc_device;
extern struct platform_device jz4740_udc_xceiv_device;
extern struct platform_device jz4740_mmc_device;