Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp726181pxb; Tue, 8 Feb 2022 00:42:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJymrsY58P64adyKnEhdIkJYzLSyLuDdZHapZ/DbAXYriKTmkNZZmNoC/yZzia2aRW8yiQ3l X-Received: by 2002:aa7:94a9:: with SMTP id a9mr3376407pfl.78.1644309772551; Tue, 08 Feb 2022 00:42:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644309772; cv=none; d=google.com; s=arc-20160816; b=RfDhd4Fiv7JfA7ZG5pSXh2WSS1xtuE8ePBrFhpKPUWrkeGQHRvDowNbcGTa3SiU7xS i56Jwzg2TBe749nIBFkoqQShu3VJTqjTD+DhY+tI1ONKeaDMIAhmqdOBoorTWL1nWnL2 dT2701aW+HzsU4KJ07UBtWfSnqtbk139/85zedoi1m3Fv5qb9nVQ2JiXQkxw94mj4KOc gG4OioJd/nz/qxG/tRPOuxHSj6Tqudp1Hu65Gu8nutVGmXbdX689SzatqyOc8ezMnARa D8GLHloWIB1jArxnwDQxnr48bKXUezhdx1Py/On4IP1DGJW31ZUZZEJKsM9creISfe+Q ldOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=wwbhYvgzIzutfHGQW5cD07XRL9fhC04oe+622O8kr+0=; b=CBOyCdePdr3UolXmJ5XCUhTfX3TRh7uOnH+Na+dhXsNd7bfwaIp6uLLh7SYljck1kG TW2KkdbW0OiLx2anflnqWbVl+++lJpcu0/f5+nepfuS0imwEGuAl/ujLARF7yn+ha0OV FIloTsFtyfSUa1pu25pQT35JWOqFLo/yafvgeTrDy+01idPpLdoCZY5oXKHTi5Y7KWz7 geVB4692QgaQIsiERhVPQT2tjeDd0FwW+LWkX9QGMw6D2vRu4h8u7KxA/EYfduDB133g 7mjblh+ZuxST5Nkfnus77nQ7KpWCUBcB1P/P4PswAzz62uNvhP0rn2Hdpv3KTn5V+DtN NtpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ltj+8d4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c8si1463576pgq.675.2022.02.08.00.42.39; Tue, 08 Feb 2022 00:42:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=ltj+8d4q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343999AbiBHBtI (ORCPT + 99 others); Mon, 7 Feb 2022 20:49:08 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343966AbiBHBdl (ORCPT ); Mon, 7 Feb 2022 20:33:41 -0500 X-Greylist: delayed 60237 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 07 Feb 2022 17:33:40 PST Received: from out1.migadu.com (out1.migadu.com [91.121.223.63]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81748C061355; Mon, 7 Feb 2022 17:33:40 -0800 (PST) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1644284018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=wwbhYvgzIzutfHGQW5cD07XRL9fhC04oe+622O8kr+0=; b=ltj+8d4qZdfA6iqqnCaCtbzOXY2u0PJDDx2w0c4uyyBxtM4xtvk/qOEc03OuI1uUcd3skr hJkev2Y+Xjhk2acFujH1OMePDC2UIzbEAPDw4ocO4g3AEfPqnYiflhojPmOq0K4UWeA6KZ jKhDNKlKQDC5Spfm5wHmAWwiE37dJ5E= From: Cai Huoqing To: cai.huoqing@linux.dev Cc: "David S. Miller" , Jakub Kicinski , Karol Gugala , Mateusz Holenko , Gabriel Somlo , Joel Stanley , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] net: ethernet: litex: Add the dependency on HAS_IOMEM Date: Tue, 8 Feb 2022 09:33:08 +0800 Message-Id: <20220208013308.6563-1-cai.huoqing@linux.dev> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: linux.dev X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,TO_EQ_FM_DIRECT_MX,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The LiteX driver uses devm io funtion API which needs HAS_IOMEM enabled, so add the dependency on HAS_IOMEM. Fixes: ee7da21ac4c3 ("net: Add driver for LiteX's LiteETH network interface") Signed-off-by: Cai Huoqing --- drivers/net/ethernet/litex/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/litex/Kconfig b/drivers/net/ethernet/litex/Kconfig index f99adbf26ab4..04345b929d8e 100644 --- a/drivers/net/ethernet/litex/Kconfig +++ b/drivers/net/ethernet/litex/Kconfig @@ -17,7 +17,7 @@ if NET_VENDOR_LITEX config LITEX_LITEETH tristate "LiteX Ethernet support" - depends on OF + depends on OF && HAS_IOMEM help If you wish to compile a kernel for hardware with a LiteX LiteEth device then you should answer Y to this. -- 2.25.1