[openwrt/openwrt] apm821xx: nand remove obsolete kernel config symbol

LEDE Commits lede-commits at lists.infradead.org
Thu Feb 22 22:57:30 PST 2018


mkresin pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/9e0d808700fad99c679c3193b8d969c92672ddfa

commit 9e0d808700fad99c679c3193b8d969c92672ddfa
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Wed Feb 21 08:56:59 2018 +0100

    apm821xx: nand remove obsolete kernel config symbol
    
    The missing CONFIG_USB_XHCI_PCI dependency on CONFIG_USB_PCI of the
    µPD720201 xhci-pci(e) usb 3.0 chip used by the WNDR4700 was fixed with
    6112abf186bf ("kernel: enable CONFIG_USB_PCI for PCI usb modules").
    
    Commit c38fb585763f ("kernel: fix disabling common usb quirks on 4.14")
    finally fixed the following build error:
    
    drivers/usb/host/xhci-pci.c: In function 'xhci_pci_probe':
    drivers/usb/host/xhci-pci.c:749:6: error: implicit declaration of function 'usb_xhci_needs_pci_reset' [-Werror=implicit-function-declaration]
      if (usb_xhci_needs_pci_reset(dev)) {
    
    Hence the CONFIG_USB_PCI symbol isn't required any longer in target kernel
    config.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/apm821xx/nand/config-default | 1 -
 1 file changed, 1 deletion(-)

diff --git a/target/linux/apm821xx/nand/config-default b/target/linux/apm821xx/nand/config-default
index ca6af46..7b66f27 100644
--- a/target/linux/apm821xx/nand/config-default
+++ b/target/linux/apm821xx/nand/config-default
@@ -39,7 +39,6 @@ CONFIG_MTD_UBI_BLOCK=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 CONFIG_UBIFS_FS=y
 # CONFIG_UBIFS_FS_ADVANCED_COMPR is not set
-CONFIG_USB_PCI=y
 CONFIG_SENSORS_LM90=y
 CONFIG_SENSORS_TC654=y
 CONFIG_SWCONFIG=y



More information about the lede-commits mailing list