Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp3948792pxb; Mon, 27 Sep 2021 06:19:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEPyuCRQIS1DKbUX07mZ9uXQr+6R+wOIW0efRKu/uxx9StgoRd0eGFiv7lmewvP85vKaeF X-Received: by 2002:a17:90a:5894:: with SMTP id j20mr10810pji.82.1632748772503; Mon, 27 Sep 2021 06:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632748772; cv=none; d=google.com; s=arc-20160816; b=SSYRzXEPlJW8W7ess9IW9VQtimWFhiubkgZVsHFccZd/nOvb2IZ6Q3UcpIaHwoDahV kUVO5ccyk2T+VMjHKAWj0EA6UiO6Cie4UlQChE17AQhMELSukojzWu4iFkrJ7+pht65m bOcY65QLR/fpO9p3Uv0YyS8lEoeXBBNrcIp4fbwtMq15pTJAQubEY2qcQMXxG7P+3OID U6f1g1T7zQfqMlSn5wFZwp5mtD1CsFfOr+Ia1Wv5gHSTDutCJTsgXp0Jvc0IMd/Gy6kJ HREQBtvCkQaNPnl86jxRqttzgBPN5Yj6BGYxjO3uTwH/YWjOh902krTs0xRmNI7dxqBz Y9qQ== 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=hrH4xJCyN8Iry88nbcZX8GE18LMR7ZWyDnTx71HB3lLo790Th83mOjxbdbeGGcFvQE iti68mslNc4XWEMPmYUg8/uJS9ZWTs6BWAXKY5KCpvXp7O5neXrSh6Xi7FoFqK24bSno GCf0hhBcG6yopSjPVWiSCND+6R5XYuS2McvipIWt1R1zoD3lT91TMfQhuRPnixxJeKaM 6orqHrhgDBamlZh66/Vn2kTdaS7FGFNgHtYq6YUckNjEELkfh3rRYMt+t6pMMDXT6i4m yE0T4CQj18VLxtUlJ0mGAc0/tIR6saONGyUKPyNTDsP9Jg3pSGlMrDuT1AOjckY0SUTD R/wA== 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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 i63si22785316pfg.306.2021.09.27.06.19.20; Mon, 27 Sep 2021 06:19:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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 linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S234565AbhI0NTO (ORCPT + 99 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 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(+) 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. -- 2.29.2