Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp928007imu; Thu, 13 Dec 2018 06:47:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/XOPY87QE7BE4j014w9PjPrExxMK2wyC21fN7f7maQAPpxVT10NaX3BA1l5MhGvBNtMe8w1 X-Received: by 2002:a62:109b:: with SMTP id 27mr23801565pfq.227.1544712452659; Thu, 13 Dec 2018 06:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544712452; cv=none; d=google.com; s=arc-20160816; b=c8ptaTf85IRIHQpowbfzenYZA86E+BD7Bg1M3L77rgIzQPuM6z5bSAKAtvFB2Cy+lH S/POpaZGWnLDy8+h23cFONnSLlmat1UljEHywfU+k2LVJQ5IIzLQob6UKzW48RB3sZQg 6VOEM3FsuKNbIDrexHoqATm97msbGkBLBLbRi7f3r7MaeC+ssF9vQzZOmlDdaxE3FlxN fQZWFvvyTwliNBAjKSc1V5f6bRgxd0jAVX453v5RgY/Hm6bzvHlosuDbjf/P+We78EHI yCkuDksF/Vi8HT+uNtujEblSgXkzLAei6FCg6NiujiTwkznRiYtQk1rgrACgg0NZNY2T 4TTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:dkim-signature:references:in-reply-to :message-id:date:subject:cc:to:from; bh=RHqwqtBgjj4iJ4aY/QjBbJQaINc07TI/M6HFVQwBqvM=; b=JSnPR8YC9wzV/ktvwbQReX9F42NYDyRt0c5dR8Y+b7ogDx1OJpObB338kY1vCJ0pON 3Gm1iv62pGq2nR86nT+/NM2rwd2toXqcImm5oCTuW/S44CLw9hYvNxJET/P7riuN7ViR kNl2z0Jzg1mZIgC01cMfAdCVebQqBhPKwMC7mPnGsajvXMuZc5NJx5usVBbXbwEECzoE bj9v0nheLdOzPhsmyp+Y53ElOKLTy57bv5ketmEaXEDe/5qT8Hawn/yyRq85XqxWVAy0 u1IHOtfLwfp83553e9Ny2aqnTU0dItBITNa0TcMBXmiIRcbiL+LisLtFvI2gx6vzhM26 1eVA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=Yq97HlTi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f14si1773397pln.289.2018.12.13.06.47.17; Thu, 13 Dec 2018 06:47:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=Yq97HlTi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729134AbeLMOqJ (ORCPT + 99 others); Thu, 13 Dec 2018 09:46:09 -0500 Received: from outils.crapouillou.net ([89.234.176.41]:44292 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728078AbeLMOqG (ORCPT ); Thu, 13 Dec 2018 09:46:06 -0500 From: Paul Cercueil To: Greg Kroah-Hartman , Rob Herring , Mark Rutland , Bin Liu Cc: linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, od@zcrc.me, Paul Cercueil Subject: [PATCH 3/4] usb: musb: jz4740: Drop dependency on MACH_JZ4740, use COMPILE_TEST Date: Thu, 13 Dec 2018 15:45:54 +0100 Message-Id: <20181213144555.24031-3-paul@crapouillou.net> In-Reply-To: <20181213144555.24031-1-paul@crapouillou.net> References: <20181213144555.24031-1-paul@crapouillou.net> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1544712364; bh=RHqwqtBgjj4iJ4aY/QjBbJQaINc07TI/M6HFVQwBqvM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References; b=Yq97HlTi3LXf6Sa1UAEW16vN/ykeyKyN54RCAlUsLmMZjXC6jurnuYxitW2a6x24NViRXl9pqw3iUViqVxMz4zh1y9Lq8m6vKzdWW7ltO30dbVQfE2xYriyKX0wLElTnqpMeYRx3yAMkvD9XlH1QbRdmjsFOzwK5FskgQERZNtU= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Depending on MACH_INGENIC prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. On other architectures, this driver can still be built, thanks to COMPILE_TEST. This is used by automated tools to find bugs, for instance. Signed-off-by: Paul Cercueil --- drivers/usb/musb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index ad08895e78f9..6f5b0ed6a507 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -111,7 +111,7 @@ config USB_MUSB_UX500 config USB_MUSB_JZ4740 tristate "JZ4740" depends on NOP_USB_XCEIV - depends on MACH_JZ4740 || COMPILE_TEST + depends on MIPS || COMPILE_TEST depends on USB_MUSB_GADGET depends on USB_OTG_BLACKLIST_HUB -- 2.11.0