From patchwork Tue May 12 06:32:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dirk Neukirchen X-Patchwork-Id: 471151 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 84F5B140D16 for ; Tue, 12 May 2015 16:33:45 +1000 (AEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 00349281670; Tue, 12 May 2015 08:32:21 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id B80AC2800EB for ; Tue, 12 May 2015 08:32:09 +0200 (CEST) X-policyd-weight: using cached result; rate: -8.5 Received: from mout.web.de (mout.web.de [212.227.15.14]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Tue, 12 May 2015 08:32:07 +0200 (CEST) Received: from [192.168.3.157] ([91.64.206.248]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MJlGW-1Yt9gS3IWK-0018v6 for ; Tue, 12 May 2015 08:33:20 +0200 Message-ID: <55519E65.9090706@web.de> Date: Tue, 12 May 2015 08:32:05 +0200 From: Dirk Neukirchen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: OpenWrt Development List X-Provags-ID: V03:K0:ed8OUu+Wi6KC0EIuA4ZK5F1NsFwbSRP7hjSBHVK/lPQjHjf6FkY 0od20wgD430b2pQJP3xYDTS787UOCvec3hjp8BSWXQRLkB1525SN5/Txh3Qc2HZ1EsucUxH 205SXwPTM0HcBxTsck0BFo1akd41ezL7ufTVyBDbuorSBfJWWlsI4Mx3kQiB1vAVBmGjJMD WA8O6ntWCs+Iy1b2Obw0A== X-UI-Out-Filterresults: notjunk:1; Subject: [OpenWrt-Devel] [PATCH] usb: cleanup remove old module names X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" .ko for symbol CONFIG_NOP_USB_XCEIV: delete cases for Kernel <3.10 (nop-usb-xceiv), <3.12 (phy-nop) Signed-off-by: Dirk Neukirchen --- package/kernel/linux/modules/usb.mk | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/package/kernel/linux/modules/usb.mk b/package/kernel/linux/modules/usb.mk index 589894b..f3c84e6 100644 --- a/package/kernel/linux/modules/usb.mk +++ b/package/kernel/linux/modules/usb.mk @@ -103,18 +103,8 @@ define KernelPackage/usb-phy-nop TITLE:=Support for USB NOP transceiver KCONFIG:=CONFIG_NOP_USB_XCEIV HIDDEN:=1 -ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-generic.ko),) FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-generic.ko AUTOLOAD:=$(call AutoLoad,43,phy-generic) -else -ifneq ($(wildcard $(LINUX_DIR)/drivers/usb/phy/phy-nop.ko),) - FILES:=$(LINUX_DIR)/drivers/usb/phy/phy-nop.ko - AUTOLOAD:=$(call AutoLoad,43,phy-nop) -else - FILES:=$(LINUX_DIR)/drivers/usb/otg/nop-usb-xceiv.ko - AUTOLOAD:=$(call AutoLoad,43,nop-usb-xceiv) -endif -endif $(call AddDepends/usb) endef