Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E78AC43334 for ; Mon, 18 Jul 2022 10:03:18 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3AB56838BB; Mon, 18 Jul 2022 12:03:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 24F97839F6; Mon, 18 Jul 2022 12:03:14 +0200 (CEST) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by phobos.denx.de (Postfix) with ESMTP id 96C99800B6 for ; Mon, 18 Jul 2022 12:03:11 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=andre.przywara@arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 25B1E1042; Mon, 18 Jul 2022 03:03:11 -0700 (PDT) Received: from donnerap.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CE34D3F70D; Mon, 18 Jul 2022 03:03:09 -0700 (PDT) Date: Mon, 18 Jul 2022 11:03:07 +0100 From: Andre Przywara To: Samuel Holland Cc: u-boot@lists.denx.de, Jagan Teki , Joe Hershberger , Ramon Fried Subject: Re: [PATCH 2/3] net: sun8i-emac: Drop use of arch-specific header Message-ID: <20220718110307.2ffef1b1@donnerap.cambridge.arm.com> In-Reply-To: <20220715052058.28405-3-samuel@sholland.org> References: <20220715052058.28405-1-samuel@sholland.org> <20220715052058.28405-3-samuel@sholland.org> Organization: ARM X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.32; aarch64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.6 at phobos.denx.de X-Virus-Status: Clean On Fri, 15 Jul 2022 00:20:57 -0500 Samuel Holland wrote: Hi, > This header is not used since commit abdbefba2a4e ("net: sun8i_emac: Use > consistent clock bitfield definitions"). Dropping it allows the driver > to be architecture-independent. Yes, we don't need this header anymore (all boards compile fine without it), and indeed it seems to be this commit you mentioned that changed that. > Signed-off-by: Samuel Holland Reviewed-by: Andre Przywara Cheers, Andre > drivers/net/sun8i_emac.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/net/sun8i_emac.c b/drivers/net/sun8i_emac.c > index a4b3492b7647..9cca8fa4e0a1 100644 > --- a/drivers/net/sun8i_emac.c > +++ b/drivers/net/sun8i_emac.c > @@ -16,7 +16,6 @@ > #include > #include > #include > -#include > #include > #include > #include