Received: by 2002:a05:622a:251a:b0:39a:b4a2:e86 with SMTP id cm26csp321739qtb; Wed, 19 Oct 2022 02:54:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5X4kJpEHXphSlShdHC2W9XpP1svmesdLRrjV0akJwzYEW3hZGapslCo/sYUzg/pNt/QUZt X-Received: by 2002:a17:907:7fa4:b0:791:9307:9d6a with SMTP id qk36-20020a1709077fa400b0079193079d6amr6016083ejc.464.1666173279332; Wed, 19 Oct 2022 02:54:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666173279; cv=none; d=google.com; s=arc-20160816; b=YsvWekW5UO4kSSecie/pDh5Atwn9tTSjJAx8r5fdFFruzOHjM4uU0Q2Ocsu0IoKcry fN6QnqKK/cyp1KcUcJHJ6G1aIs3OaKLu8NYmPF+TrySmBwIxE6t+iQxWRcrg3lCeGqAM Ru/uVwRGFkyKj/QrvZwq/D4YxwXAub+LXJh626T78TyYlsznAgNBz7sMtfXUp7U+0ph9 8YL2QvRrCDXWmXwdnd0b7tgn39/8iEovDtInpOu+DlZTpUuou7PVGszBaMvUMZ7DdAth 1uCNjRX2F9v0lde0bAb1mjH1JcPf1qXiHTRrHdTg35ntAKZ3qwVwAtPLF/wM3MfrXOJr EEWw== 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=rk8oQncFKtlJDdo8BEdMJDvFz+WvwaV7IqPdh9sRpKA=; b=xCNWWG/seGfiqrEC1eOavYYxDiCMrjFdrlEu0y/ZajE7c1l+xEa6QjkWcMNwRWCjAW L8plrTLglpoVw8sxeZRpFwfNjKbwZ3c6EUdGTAy9eLxkV9UvIMqNUcVtnDshWHrOR9bp Fv1cOpzTqWmMncyrVkTZvLvFNOFJP8zxXobTjghTbJdbC4jgvtEDyXGRwEph17+Ya3/v /fWpiAv6qrqXTz6Tv5KXjYJQlIDz72spFQR99i9Pk+sAh2mY0Ia85K+zZzimrnyZqENT Tzo15yfExAeJ8CL5HmjFHnlHLljMfdGAVeXHKop6bfwy+X4qk1Df1FS+S1dtY2o5/g2/ jMfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QoU8bxzx; 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 b4-20020a0564021f0400b0045d8bff7afesi6623963edb.376.2022.10.19.02.54.07; Wed, 19 Oct 2022 02:54:39 -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=QoU8bxzx; 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 S234356AbiJSJpx (ORCPT + 99 others); Wed, 19 Oct 2022 05:45:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33510 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235109AbiJSJmO (ORCPT ); Wed, 19 Oct 2022 05:42:14 -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 D8D90B1DFD; Wed, 19 Oct 2022 02:19:10 -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 19B55617B0; Wed, 19 Oct 2022 09:16:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26EF0C433C1; Wed, 19 Oct 2022 09:16:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1666170990; bh=SfovaiwKGLjcp/SsOJAxEXvxF9kuiamt4gaWeahnRxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QoU8bxzx6tf0UkEthkI7gJOK6k4X4cuGLVUe3Fx/wg3HNa1VDWIi7fu9eIV4QL3kt JRyXJcAavTUFl5n0UsaLedFca+oUmd8lee5uwAgofcDYnzKvbcXI9wXYVltm8vWiwS vrLwneVJ4ASvmD8T0bZuOBlQtZrvJcW4rPahT0sE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Randy Dunlap , Grygorii Strashko , Ravi Gunasekaran , Eric Dumazet , Paolo Abeni , Naresh Kamboju , "Sudip Mukherjee (Codethink)" , Jakub Kicinski Subject: [PATCH 6.0 852/862] net: ethernet: ti: davinci_mdio: fix build for mdio bitbang uses Date: Wed, 19 Oct 2022 10:35:39 +0200 Message-Id: <20221019083327.507859591@linuxfoundation.org> X-Mailer: git-send-email 2.38.0 In-Reply-To: <20221019083249.951566199@linuxfoundation.org> References: <20221019083249.951566199@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.4 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 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 commit 35bbe652c421037822aba29423f5f1f7d0d69f3f upstream. davinci_mdio.c uses mdio bitbang APIs, so it should select MDIO_BITBANG to prevent build errors. arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdio_remove': drivers/net/ethernet/ti/davinci_mdio.c:649: undefined reference to `free_mdio_bitbang' arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdio_probe': drivers/net/ethernet/ti/davinci_mdio.c:545: undefined reference to `alloc_mdio_bitbang' arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdiobb_read': drivers/net/ethernet/ti/davinci_mdio.c:236: undefined reference to `mdiobb_read' arm-linux-gnueabi-ld: drivers/net/ethernet/ti/davinci_mdio.o: in function `davinci_mdiobb_write': drivers/net/ethernet/ti/davinci_mdio.c:253: undefined reference to `mdiobb_write' Fixes: d04807b80691 ("net: ethernet: ti: davinci_mdio: Add workaround for errata i2329") Signed-off-by: Randy Dunlap Cc: Grygorii Strashko Cc: Ravi Gunasekaran Cc: Eric Dumazet Cc: Paolo Abeni Cc: Naresh Kamboju Cc: Sudip Mukherjee (Codethink) Link: https://lore.kernel.org/r/20220824024216.4939-1-rdunlap@infradead.org Signed-off-by: Jakub Kicinski Signed-off-by: Greg Kroah-Hartman --- drivers/net/ethernet/ti/Kconfig | 1 + 1 file changed, 1 insertion(+) --- a/drivers/net/ethernet/ti/Kconfig +++ b/drivers/net/ethernet/ti/Kconfig @@ -33,6 +33,7 @@ config TI_DAVINCI_MDIO tristate "TI DaVinci MDIO Support" depends on ARCH_DAVINCI || ARCH_OMAP2PLUS || ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST select PHYLIB + select MDIO_BITBANG help This driver supports TI's DaVinci MDIO module.