From: Mathias Kresin Date: Wed, 21 Feb 2018 07:56:59 +0000 (+0100) Subject: apm821xx: nand remove obsolete kernel config symbol X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9e0d808700fad99c679c3193b8d969c92672ddfa;p=openwrt%2Fstaging%2Fansuel.git 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 --- diff --git a/target/linux/apm821xx/nand/config-default b/target/linux/apm821xx/nand/config-default index ca6af461c7..7b66f27d30 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