Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp2859128pxb; Mon, 18 Apr 2022 09:43:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBtShnCCew9fEnAkkcGMx+7TqRQ/u/Y118xDPsnUrAzaMG6N3tOAHuwYeYhLU3vdLitr5a X-Received: by 2002:a05:6402:10d5:b0:408:f881:f0f3 with SMTP id p21-20020a05640210d500b00408f881f0f3mr12962687edu.112.1650300194550; Mon, 18 Apr 2022 09:43:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650300194; cv=none; d=google.com; s=arc-20160816; b=Ef+JL3pXn+Dvqjbr/s4RyQ4rzn4mfIKydKR8lJF8w2dxLqw/W9KPQnHVRnaJwSgjd+ DwvRlH4jeSMPh9dEU7l8u/BornteIQq14dr9K8fCBBHEZfAe1hAEt8xhA+QEphU+PTVn GP4mcVOjaW3CpBttLu7K8DOHNyVxG51ks+7aaRZFkiwUfAOgv+Ir8wjzN8nkOK7TQU9m xPmMrEcnn3K7ZkJ8MqLjV8gGxuXPxigxp5qGA0cMstPdPwQUPGKsjTZ7UJeWmFl0pqGY 3qcSi3+iqpmFD/S/zdtPsNg1QM0RsJxk/ntuAObhqew+qHCpxeu/GCs090MuGVbgOqj1 Wihw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ep4JsOz5wFF19NpC1OQsm9VLMXrofNwBEycEU+gzGk8=; b=EQvhZ8h940XRT2JFD6laMbDRqh2tyNui2/+54PP6AOXiyNzxrAJj0Z25Uh1EwYJm4w BuCTY/w1lvaPFPSB2DPc9UyWqKD5NWEE44Wy0mBuEqHIE7VO++T+uw1b13LBOImNmBZx bmqtrDazIx+59ln79zv/N3RDrWwo7k8VXJhPJdsjdIt0vLLFA5FKzHxdedSKaCzwMlBx xIDgX9aiN4YX7ytnxy/6e3HsU4v+o0jjSWSgGoalEU0ifvOMxqPMLorZzEnW1vYz27l2 HMs+ZEY0/4UGXe+gSOYR4PeMdFt/tJjBOoroKCMjJiW84UueJ1tYKbLMluZ2gaSizrys JoQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lbsprj27; 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=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y7-20020a056402270700b0041d7db9a25csi7594905edd.428.2022.04.18.09.42.49; Mon, 18 Apr 2022 09:43:14 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=lbsprj27; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244284AbiDROFg (ORCPT + 99 others); Mon, 18 Apr 2022 10:05:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54142 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244550AbiDRNrn (ORCPT ); Mon, 18 Apr 2022 09:47:43 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7F1A23337B; Mon, 18 Apr 2022 06:01:14 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id D1BFB60AAD; Mon, 18 Apr 2022 13:01:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D7FAEC385A7; Mon, 18 Apr 2022 13:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1650286873; bh=cYzXXg1Vy1q7vvQEVY1rET2xsZpGFJS5PCjsVVvLFiQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lbsprj27z28E0nMTaRm07yqUoF2Ax3O+RmrLLMROL1qMNP48oxDRtxRp2HvqVea6a PgDgdNwdrhjoLv2EAIPc4TTfxqeIKpHJo6lIILtZ9RxUE+fPyVlCUMYXWw9LH38Tap wYz1xWR9DCGntnn34XzpPEiFx+A2XSCRehgOoMwM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , "David S. Miller" , Jakub Kicinski , Paolo Abeni , Sasha Levin Subject: [PATCH 4.14 273/284] net: micrel: fix KS8851_MLL Kconfig Date: Mon, 18 Apr 2022 14:14:14 +0200 Message-Id: <20220418121220.707111799@linuxfoundation.org> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20220418121210.689577360@linuxfoundation.org> References: <20220418121210.689577360@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,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 From: Randy Dunlap [ Upstream commit c3efcedd272aa6dd5929e20cf902a52ddaa1197a ] KS8851_MLL selects MICREL_PHY, which depends on PTP_1588_CLOCK_OPTIONAL, so make KS8851_MLL also depend on PTP_1588_CLOCK_OPTIONAL since 'select' does not follow any dependency chains. Fixes kconfig warning and build errors: WARNING: unmet direct dependencies detected for MICREL_PHY Depends on [m]: NETDEVICES [=y] && PHYLIB [=y] && PTP_1588_CLOCK_OPTIONAL [=m] Selected by [y]: - KS8851_MLL [=y] && NETDEVICES [=y] && ETHERNET [=y] && NET_VENDOR_MICREL [=y] && HAS_IOMEM [=y] ld: drivers/net/phy/micrel.o: in function `lan8814_ts_info': micrel.c:(.text+0xb35): undefined reference to `ptp_clock_index' ld: drivers/net/phy/micrel.o: in function `lan8814_probe': micrel.c:(.text+0x2586): undefined reference to `ptp_clock_register' Signed-off-by: Randy Dunlap Cc: "David S. Miller" Cc: Jakub Kicinski Cc: Paolo Abeni Signed-off-by: David S. Miller Signed-off-by: Sasha Levin --- drivers/net/ethernet/micrel/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/micrel/Kconfig b/drivers/net/ethernet/micrel/Kconfig index b7e2f49696b7..aa12bace8673 100644 --- a/drivers/net/ethernet/micrel/Kconfig +++ b/drivers/net/ethernet/micrel/Kconfig @@ -45,6 +45,7 @@ config KS8851 config KS8851_MLL tristate "Micrel KS8851 MLL" depends on HAS_IOMEM + depends on PTP_1588_CLOCK_OPTIONAL select MII ---help--- This platform driver is for Micrel KS8851 Address/data bus -- 2.35.1