From patchwork Sun Dec 12 20:01:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sander Vanheule X-Patchwork-Id: 1567032 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; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=nQLv5Xd6; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=svanheule.net header.i=@svanheule.net header.a=rsa-sha256 header.s=mail1707 header.b=OWszWw6z; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (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 4JBwbN5JRfz9s3q for ; Mon, 13 Dec 2021 07:04:48 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=a5UTv0yPUjTlJVxygHlbuJhpoyda35AiIn0WbN8jRB0=; b=nQLv5Xd6nJAfJP rMRzBv4euF1PqPLvbN685lf40syyWAwGqm5YYu/c+mcX1DRBwWRIE85It3SuxIBFVlFRMdUmEQ/rZ zUiVH23lJjEQlrUQTG9D4AfSpXtmVcu+jaxysLdy8RkB7nD5qB+gYlG7XpsrCa/m+SwCZDRPeiEdv BBtiSoWoJkFD76PM9SUOAYenGunERHh9NekTY38JHzotc/PgZq73UpEO6uC1EcGMLlWiUAjqOAh/M DMu2dXC/GdYowFoHTEBv8Zcw/7E/pOzhR1Mipq6XVf+5qrx8E7NolppryrCQqKIoUjVhg8Kipx0VV JSbxOax0SgzT/d4MwvbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwV3l-00774p-UQ; Sun, 12 Dec 2021 20:03:02 +0000 Received: from polaris.svanheule.net ([84.16.241.116]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mwV2u-0076qL-K7 for openwrt-devel@lists.openwrt.org; Sun, 12 Dec 2021 20:02:10 +0000 Received: from terra.local.svanheule.net (unknown [IPv6:2a02:a03f:eafe:c901:9d78:c664:81ab:1c5b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sander@svanheule.net) by polaris.svanheule.net (Postfix) with ESMTPSA id 649DA28010C; Sun, 12 Dec 2021 21:02:05 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=svanheule.net; s=mail1707; t=1639339325; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qpVfR84wHb37PLAOxVl6mP5zzdyF3CO/9y3XJxahJAk=; b=OWszWw6zq5FWj6YvEuGzdp83DobdktGRdWkP4ytedOGfY8RV2Mtf+44UPlSQejIpVdw4mR XsJf1O1+2yyFjccnFYYvW8ArXm5hfRkK4Oy/Bt3rvwbnBW4V11dUHFvCbHAJBDz9zd+Azz UQpZ5OYPx8tXEYdjbLzvtNxxx6sN2FoTG87fWmQi4J6MWPt70x5C7eKYVEvDWRZBfcLR8e MjPOhfOnpHwwr3KDClLt7VVPKYuSSKUpn3VEHYtKWxY0jYyeRITedETkPn/MgD8it1TpaM iRK0ltAKaZ/crpCuZXhAgSP4r3ljdS6jMufJium7Ju9DE48uFFV2XkIsj1d/Bw== From: Sander Vanheule To: openwrt-devel@lists.openwrt.org Cc: INAGAKI Hiroshi , Birger Koblitz , John Crispin , Sebastian Gottschall , =?utf-8?q?Bj=C3=B8rn_Mork?= , Sander Vanheule Subject: [PATCH v2 05/14] realtek: include io.h in mach-rtl83xx.h Date: Sun, 12 Dec 2021 21:01:27 +0100 Message-Id: X-Mailer: git-send-email 2.33.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211212_120208_833686_CB58CF34 X-CRM114-Status: UNSURE ( 7.74 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: The readl and writel calls used in macros defined in this header are not included here. As a result, this header cannot be included by itself, but must be preceded by other includes providing these ca [...] Content analysis details: (-2.5 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [84.16.241.116 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org The readl and writel calls used in macros defined in this header are not included here. As a result, this header cannot be included by itself, but must be preceded by other includes providing these calls. Fix this by including asm/io.h in this header too. Co-developed-by: INAGAKI Hiroshi Signed-off-by: INAGAKI Hiroshi Signed-off-by: Sander Vanheule Tested-by: Bjørn Mork --- .../files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h | 1 + 1 file changed, 1 insertion(+) diff --git a/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h b/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h index ecec0fec2dce..831edf8de76b 100644 --- a/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h +++ b/target/linux/realtek/files-5.10/arch/mips/include/asm/mach-rtl838x/mach-rtl83xx.h @@ -6,6 +6,7 @@ #ifndef _MACH_RTL838X_H_ #define _MACH_RTL838X_H_ +#include #include /* * Register access macros