From patchwork Mon Sep 27 13:17:19 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 514689 Delivered-To: patch@linaro.org Received: by 2002:a17:906:f46:0:0:0:0 with SMTP id h6csp3933351ejj; Mon, 27 Sep 2021 06:17:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfCYh8RdfWLpZ7c/RkJkda/xP+D4godwiSkPr4BAx4wWIxgNslcS2w4QiARcKWzFT+MAt1 X-Received: by 2002:a17:906:8510:: with SMTP id i16mr17737580ejx.442.1632748660352; Mon, 27 Sep 2021 06:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632748660; cv=none; d=google.com; s=arc-20160816; b=PI5bsWn2+ksPv8JUz0oDstk/QvWquhG+2fNOQm7LsdkXxczCO7CbxtJhUcpE2RJG0P sc8KcNbLDHytQMz4RLZBruUUokTsPraMXvgZ7NickwdMgzMnXocs6YtPowMmZis4Cz8/ QmayOWA6zNDjVzcQV9Dk3N3jFLjO8RUj4mM3ZF+ZmdLsCa5Cn6Md8Qj/4doOuC5FU25S z4SKD+W2LYY9OgUW8G9Su3oib66gzjyAmQU38OORcwzZGah1qeFNy/ORissBnEi4zPZA X2/+LJOIgWdTt5N0ygoM+JmnhgwEEtx4IEdFf2HZjgmFkUSv5O8nJNBv0RRwnL2COMkA IsGA== 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=xjwXA50DyM3DXsNFDxSTx9Bb6Xr/a1d244/KjipmX6I=; b=sOgK3xEJadNBSvTe9h/DyTFZAxXqDmXid40CbOdR1RdiQEiun7rG2HZsOjPkuFL4y9 piO3STxAgK2l81jooZ3Xj9ltYjlmNZ3lamwAn+TIP2yAM/DmBkIPYnUbmsOikGrw0ri6 N5GnZ/ikw/cyprKazjmCZqcnbNviKCX5Ub/0iH+Sej8ajOPNXlp2Fx5/PSd9XRb64ALZ yAemO34NsmDrtg4g4y6Id+7sXoF6RYua0cRcu8mHhb13UxFit6ynGyZO51Dz5/pOfZ89 HKoLIPMQ2onZF5KqsA7ChfAZK49lbsAzcrFemTZei8V7k5rGS3+ujqFrbB+PZyVoI91r j5zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZMT4sHlu; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 3si17289629ejq.564.2021.09.27.06.17.38; Mon, 27 Sep 2021 06:17:40 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=ZMT4sHlu; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234572AbhI0NTO (ORCPT + 8 others); Mon, 27 Sep 2021 09:19:14 -0400 Received: from mail.kernel.org ([198.145.29.99]:53938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234421AbhI0NTN (ORCPT ); Mon, 27 Sep 2021 09:19:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 350CE60FED; Mon, 27 Sep 2021 13:17:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632748655; bh=42QBDntERyc+aM/df+V25KL01A6wcdArOVewCg/bvEI=; h=From:To:Cc:Subject:Date:From; b=ZMT4sHluyoDMXrByXz8jEqUKG17f655yYSujAhmrAfe/ohZ+EHa4vZst23ImLwYo8 GGqvR8GVDb2G28tEx1/b+h10WqaEsONV4nj4p9ZcNwD492uFE6vP6tgDajlr1XngWc O1eICLm0hWAtaDDqiW9VXwLVeLOItBaWUZ5/+9BHI/o91i+MA3gv+RuD8gLPVh7tqi JJ7lMbJduHH3blDAvs00GtXpFIIps8skGinxVpSbNj/eGJIjI0WL1IAOiqRpief4jG QQHuQd4sM3WhRQyk+prGv2e2belJYTJ60rNHoGgY+rcWk+YHQjtbsKzdDmqwENNRVb AoXKwGlZ54DVg== From: Arnd Bergmann To: Jesse Brandeburg , Tony Nguyen , "David S. Miller" , Jakub Kicinski Cc: Arnd Bergmann , Jacob Keller , Shiraz Saleem , Kurt Kanzenbach , Dave Ertman , Shannon Nelson , Richard Cochran , Vladimir Oltean , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] igc: fix PTP dependency Date: Mon, 27 Sep 2021 15:17:19 +0200 Message-Id: <20210927131730.1587671-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Arnd Bergmann The igc driver was accidentally left out of the Kconfig rework for PTP, it needs the same dependency as the others: arm-linux-gnueabi-ld: drivers/net/ethernet/intel/igc/igc_main.o: in function `igc_tsync_interrupt': igc_main.c:(.text+0x1b288): undefined reference to `ptp_clock_event' arm-linux-gnueabi-ld: igc_main.c:(.text+0x1b308): undefined reference to `ptp_clock_event' arm-linux-gnueabi-ld: igc_main.c:(.text+0x1b8cc): undefined reference to `ptp_clock_event' arm-linux-gnueabi-ld: drivers/net/ethernet/intel/igc/igc_ethtool.o: in function `igc_ethtool_get_ts_info': Fixes: e5f31552674e ("ethernet: fix PTP_1588_CLOCK dependencies") Signed-off-by: Arnd Bergmann --- drivers/net/ethernet/intel/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/net/ethernet/intel/Kconfig b/drivers/net/ethernet/intel/Kconfig index b0b6f90deb7d..ed8ea63bb172 100644 --- a/drivers/net/ethernet/intel/Kconfig +++ b/drivers/net/ethernet/intel/Kconfig @@ -335,6 +335,7 @@ config IGC tristate "Intel(R) Ethernet Controller I225-LM/I225-V support" default n depends on PCI + depends on PTP_1588_CLOCK_OPTIONAL help This driver supports Intel(R) Ethernet Controller I225-LM/I225-V family of adapters.