From patchwork Wed Sep 29 05:50:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1534213 X-Patchwork-Delegate: rfried.dev@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=Dyw3zKjI; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HK58Z4hYfz9shn for ; Wed, 29 Sep 2021 15:51:08 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 8F694831D3; Wed, 29 Sep 2021 07:50:58 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Dyw3zKjI"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5B9C48320D; Wed, 29 Sep 2021 07:50:57 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id C36F180C58 for ; Wed, 29 Sep 2021 07:50:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pj1-x102d.google.com with SMTP id h12so820277pjj.1 for ; Tue, 28 Sep 2021 22:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pjQuODEwENKHNDK9IW/ckUzdwao+HCDVp3Hdqv1tfeM=; b=Dyw3zKjIXSpr/a8uuwMLXZcVmsUqSWlrhQBofTc0MYDu3TS12Slu3miK7BRDo/gmBd n31CANuole0GGf0zxq79anpdnLj0zL1xNR98czCbd3wj7244E/IE67pZI05BSwsqBhA6 f9Dx8edOQTF4aKC7tomaNYUGRKRDiSUIAhY3dn9honOnpVslnW7Dz/kv1nJQ7bqwjqtD vUll757cSZmw+4ZpGOHJhiUREEUgQJGuw69gxGsdnEdAzhqIOXE7FCQ83H+qCZsvflGK MAifxU//ujst3Gni9sRkvahlgdRXJRYlWdL+lLJg4xxveQr03eo8tVQmoYqexJN0QeG6 3TAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pjQuODEwENKHNDK9IW/ckUzdwao+HCDVp3Hdqv1tfeM=; b=5QOZvb+Buo5UPzwL4EOCdNQkL+/APpN54v/xKf0mX5UzLgUlpV+48YVB3c7cvuIw6L ozlhNntCdcRL8bOua7XeYA9lMucbkoecDhIooUOmcecEVgZEz/uspVWXnRWaau64wjNY HGcQxMdw3ITCdR8u1hdDCh0dZW5l7GM0DtAiCd9HIUiXt025KP1M+OyX2GGE+VIx9MOK SU1YEGpCo53UPQoiTyvkK4eXO4KsqTH8BeCYwZHGidr0AhcMhyjwMbgnPvuhkkkhOkvk 7XpTe0jDMWbnK2GOY7rtlhl4Qx0lR8ghyqpiZjS8UjxiE/z1rV5CyJ60OgX3GLOjCtzM rYbg== X-Gm-Message-State: AOAM531hW4IdlTeijTSfRe37v2Rs/4pqkVcrThGI4yvsxYR252Y1Nrb3 goXyLvOzcksvhudLqgmT9DGRZs0Fhyg= X-Google-Smtp-Source: ABdhPJxViUAk6u8y9HfDpS5lbjrEG7apFlSU9QccOPlrqd0/3SlHPm/QErVv8i7qazT88IkitNCESQ== X-Received: by 2002:a17:90a:351:: with SMTP id 17mr4400655pjf.145.1632894651208; Tue, 28 Sep 2021 22:50:51 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id r76sm981466pfc.2.2021.09.28.22.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 22:50:50 -0700 (PDT) From: Bin Meng To: Ramon Fried , u-boot@lists.denx.de Cc: Vladimir Oltean Subject: [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call Date: Wed, 29 Sep 2021 13:50:44 +0800 Message-Id: <20210929055046.4326-1-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean set_promisc() call accepts the parameter of a bool type. Make it clear by using true instead of 1. Signed-off-by: Bin Meng Reviewed-by: Vladimir Oltean Reviewed-by: Ramon Fried --- net/dsa-uclass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/dsa-uclass.c b/net/dsa-uclass.c index 694664d81b..dcefec03f4 100644 --- a/net/dsa-uclass.c +++ b/net/dsa-uclass.c @@ -282,7 +282,7 @@ static int dsa_port_probe(struct udevice *pdev) struct eth_ops *eth_ops = eth_get_ops(master); if (eth_ops->set_promisc) - eth_ops->set_promisc(master, 1); + eth_ops->set_promisc(master, true); return 0; } From patchwork Wed Sep 29 05:50:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1534214 X-Patchwork-Delegate: rfried.dev@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=WwcIwbql; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HK58l0m28z9shn for ; Wed, 29 Sep 2021 15:51:19 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B6FD783223; Wed, 29 Sep 2021 07:51:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="WwcIwbql"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 51BB580C58; Wed, 29 Sep 2021 07:50:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8FD4B831D3 for ; Wed, 29 Sep 2021 07:50:54 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pf1-x436.google.com with SMTP id u7so982072pfg.13 for ; Tue, 28 Sep 2021 22:50:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=PhKqc5bmViVFYN7s7ibCpVgKJrOOhyW7E0wkjQj64Nc=; b=WwcIwbqln/9Hrwq28o7Sde3TpezuZgLBb6wkqOAF2kkbu+rCat3L9rVFlu6r7GnYZC lmSyixFoLvLWywbZH1pu7WE730t/JrWlKlPA34hs0ijLvGxGyWMvrk8kqhxMeN9kv58H qOWwkQ7q6sNo19XZVPF+HISdzdlXCN3KVBnnrthiBv3oHl1OG9/hSK117+JIYsVxUk9N D8A+pivWMM4+YV7DhKU+k59V1h8nPqjYkQ+NsnpbdTk1nWmoi8SS+3wxEx/QMjVGlj55 fSEFTbVVKePsUKfglmWmWkholZoE0a4nJelVWQwzaA5VKff5agckL9rjvysHvBrDJOsL CMZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=PhKqc5bmViVFYN7s7ibCpVgKJrOOhyW7E0wkjQj64Nc=; b=2YlNJxuaGS/yfS0E52N/RbximfHUXTp9ja087weUHk0RrdgL/o7Or8od8XduPv3IuA x5tLjP8Uc8GTSriLN1SQW0s3Oka9LoxZTtdYBn07xcKIFCuujId4ZptWXadutRHl/hpr 1DQS6Z97MK9b7Yczy1K9FKRUXyg0+76Zq+hE0xweGiUx/kUTppPNIQhHFdcBG6kOiNTX HfyN4CIRQlxniMWsyO9fg/wLLql58IORFojCKh0BPEJgXacwggdyayuHrdxlbtujbv5p /vJz0lwbmvtu1725+NBocoYEfGbN7MyVE3ainVipuAfsj3kfFEb1l89/Kh6zRy3nf/wx j24Q== X-Gm-Message-State: AOAM532PD4tRbfThQUL99fzTE4rpav4magnpg7CTHwQlwyf+ubv7Hb3J 2k2uBvjF4JCKGsUX9nJrkLc= X-Google-Smtp-Source: ABdhPJymphwwWYt4g5dVEOKRf43jchSzYg6JckZnjU+PZGEZoZaPHcyFkkOPyEaAxJpzmOh5Fy+WSA== X-Received: by 2002:aa7:9f06:0:b0:44b:9f33:24c2 with SMTP id g6-20020aa79f06000000b0044b9f3324c2mr6998245pfr.80.1632894653039; Tue, 28 Sep 2021 22:50:53 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id r76sm981466pfc.2.2021.09.28.22.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 22:50:52 -0700 (PDT) From: Bin Meng To: Ramon Fried , u-boot@lists.denx.de Cc: Vladimir Oltean Subject: [PATCH 2/3] net: fec_mxc: Declare 'promisc' as bool Date: Wed, 29 Sep 2021 13:50:45 +0800 Message-Id: <20210929055046.4326-2-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929055046.4326-1-bmeng.cn@gmail.com> References: <20210929055046.4326-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean priv->promisc is used as the parameter of the set_promisc() call which accepts a bool type instead of char. Signed-off-by: Bin Meng Reviewed-by: Vladimir Oltean Reviewed-by: Ramon Fried --- drivers/net/fec_mxc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/fec_mxc.h b/drivers/net/fec_mxc.h index 62b55ef395..133f535917 100644 --- a/drivers/net/fec_mxc.h +++ b/drivers/net/fec_mxc.h @@ -272,7 +272,7 @@ struct fec_priv { struct clk clk_ref; struct clk clk_ptp; u32 clk_rate; - char promisc; + bool promisc; }; /** From patchwork Wed Sep 29 05:50:46 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bin Meng X-Patchwork-Id: 1534215 X-Patchwork-Delegate: rfried.dev@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20210112 header.b=XIFynuOL; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HK58r5WFSz9shn for ; Wed, 29 Sep 2021 15:51:24 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id BF58383251; Wed, 29 Sep 2021 07:51:13 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="XIFynuOL"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E4EA883223; Wed, 29 Sep 2021 07:51:02 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9E54D831FD for ; Wed, 29 Sep 2021 07:50:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bmeng.cn@gmail.com Received: by mail-pf1-x42a.google.com with SMTP id n23so1019043pfv.4 for ; Tue, 28 Sep 2021 22:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=qUCu0YzS6FNV+x8wzBcJ0kxE815k/7IMB64mJA8YDdQ=; b=XIFynuOLMv4pOq1nagIwb3VIEVRF0PsYpR9aLs9PQGkI/qwAbQOdXBRqqzSbAD76Ac bXj2vOaHhSkvchjJLYrXF1qBkppiq+qvJOWSwy4ZsmMlQj2RjJo2sDXswlTe6bFQL1GK 94utHx5vR2y3BkHlOEERQLnTdEen+HApoScXKM9/F5RYTL2GKVNmgiRM5n8QeNL5oto3 S2B7KR5/Y+JqtDi/jrx23BlyRE3SUvUn5AfWV22MSj0l8o5GHQREVFdu+nw4f5R2HPzp Dn57Jjh18evTFJzf2fEvmu0aYCQLo3m0wZn1adgCreERyTtUu9woOHQOlZZMWts3W3pw 8qIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=qUCu0YzS6FNV+x8wzBcJ0kxE815k/7IMB64mJA8YDdQ=; b=ojs8veFLfMM88/l2llnrhDkORKpEi0dgnR5YDOqayWUtpEMALpr4MOUV0xCwQNIuT+ GudpnDKdgueIeahmqGIsgPk/M7EQZ6xqe01U2OdednYYGUNHV2piYYWxO/0lQe85oUXy RHh+KD2V8vZopNO9UNVqDtgqd90DaHa/YZjCVvPfETEK3um+yKuJu9+qNStXz5DjOaeZ UXEBRtgYDkBK56/xoATclzTvjY5OXnNb22QrJLOQ4n0BqqkxKLrnfD+yQO8Fj5fKtDwo 3aeEN2odTXHdEKo7Zij5RwAYt0X72Jyjk5LGEXTgw/J8+QLFBa6pBqHICkfzfNIB1a3I RGug== X-Gm-Message-State: AOAM530BopTTR2dx45AKEHxE7QdrRnqAWEm00NGs7N6hCSZ8VqvEQclD /rhzzUR7E3gP5AbWbVfOH9o= X-Google-Smtp-Source: ABdhPJz8DkpPgDb/iJVULPqTEiQocWfAlNomyX72KVuGGlntM3iClzjKff/jGeLO2Q9TTuuZlGRxJg== X-Received: by 2002:a63:6981:: with SMTP id e123mr8123151pgc.419.1632894654972; Tue, 28 Sep 2021 22:50:54 -0700 (PDT) Received: from i9-aorus-gtx1080.localdomain (144.168.56.201.16clouds.com. [144.168.56.201]) by smtp.gmail.com with ESMTPSA id r76sm981466pfc.2.2021.09.28.22.50.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Sep 2021 22:50:54 -0700 (PDT) From: Bin Meng To: Ramon Fried , u-boot@lists.denx.de Cc: Vladimir Oltean Subject: [PATCH 3/3] net: tsec: Make redundant_init() static Date: Wed, 29 Sep 2021 13:50:46 +0800 Message-Id: <20210929055046.4326-3-bmeng.cn@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210929055046.4326-1-bmeng.cn@gmail.com> References: <20210929055046.4326-1-bmeng.cn@gmail.com> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean redundant_init() is only called in the tsec driver. Make it static. Signed-off-by: Bin Meng Reviewed-by: Vladimir Oltean Reviewed-by: Ramon Fried --- drivers/net/tsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/tsec.c b/drivers/net/tsec.c index ee820aae15..b433e411bd 100644 --- a/drivers/net/tsec.c +++ b/drivers/net/tsec.c @@ -432,7 +432,7 @@ static void tsec_halt(struct udevice *dev) * of the eTSEC port initialization sequence, * the eTSEC Rx logic may not be properly initialized. */ -void redundant_init(struct tsec_private *priv) +static void redundant_init(struct tsec_private *priv) { struct tsec __iomem *regs = priv->regs; uint t, count = 0;