layerscape: fix compile issue for usb ehci-fsl driver
[openwrt/staging/hauke.git] / target / linux / layerscape / patches-4.9 / 819-Revert-usb-kconfig-remove-dependency-FSL_SOC-for-ehc.patch
1 From ba4f9dd74ccb9da91195b3570310754716064ef2 Mon Sep 17 00:00:00 2001
2 From: Yangbo Lu <yangbo.lu@nxp.com>
3 Date: Tue, 10 Oct 2017 15:55:31 +0800
4 Subject: [PATCH] Revert "usb: kconfig: remove dependency FSL_SOC for ehci fsl
5 driver"
6
7 This reverts commit 92042e8b3622a9bbfce0ebfc90edf6cd14d45708 on
8 LSDK linux (https://github.com/qoriq-open-source/linux).
9
10 The patch reverted allowed to build ehci-fsl driver for non-PPC
11 platforms, but actually the driver was not ready.
12
13 Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
14 ---
15 drivers/usb/host/Kconfig | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 --- a/drivers/usb/host/Kconfig
19 +++ b/drivers/usb/host/Kconfig
20 @@ -165,7 +165,7 @@ config XPS_USB_HCD_XILINX
21
22 config USB_EHCI_FSL
23 tristate "Support for Freescale PPC on-chip EHCI USB controller"
24 - depends on USB_EHCI_HCD
25 + depends on FSL_SOC
26 select USB_EHCI_ROOT_HUB_TT
27 ---help---
28 Variation of ARC USB block used in some Freescale chips.