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 94FB0C38A02 for ; Sat, 29 Oct 2022 00:29:44 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 93DAD850EC; Sat, 29 Oct 2022 02:28:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="evTIduYA"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 056A3850DB; Sat, 29 Oct 2022 02:27:38 +0200 (CEST) Received: from mail-qk1-x729.google.com (mail-qk1-x729.google.com [IPv6:2607:f8b0:4864:20::729]) (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 A7FDC850DC for ; Sat, 29 Oct 2022 02:27:27 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x729.google.com with SMTP id z30so4512430qkz.13 for ; Fri, 28 Oct 2022 17:27:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=eLIkvaq904D7Yc0nVQQtiqgq4Z2qXNc1V2XwGgqY57w=; b=evTIduYAV5WNaaPCSQLvvIs1+3cnEGtg9wE388HX4llLs2YvqTpgpuKKzyfVUTjnCO ovEHf7HYlgZBLzXlvOSv2ZKcM/zQXPqF3OOjuz5tddMImY+hGpfi3MpjKbMsemmgu5kL f1m5b9I9xHMiI0h9zAP/66mLt3GZ2es3SYJCw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=eLIkvaq904D7Yc0nVQQtiqgq4Z2qXNc1V2XwGgqY57w=; b=yUiC0680ryi6RDp8hj6vt6nBYlKqO85UiCdx4b8WoXRjRqRQwjmA1QIWy2NWtQd5IJ 7DN2mUO0NHHlxtCCQRUg4k/Bi8USHAH4tGURU0lwD7nGe211SX6LFAjchblevv4R1iO3 iCeDw1CVbyhAiGDl/C2cKif6hj6doeqwehOkhUHG3Ox92kFUr1cBxOyYu7UT4Fx89xDR PD5bw5Q2DiKoV/i+h0wEGLyL7Wron+Dj1mJqY1hYTxvAaaq8FPNCdAis5gJG7/RpFAVE emGngqSWa9Vz2LQHOGEKTA1R+h+3RisrQZJoduIU+BELNUyb6Ec7GL8tTLLq8J+KhhoB Mzyw== X-Gm-Message-State: ACrzQf0XHYt0nNS/5fh2Z6HFCJdFga63vI0SrE3j12t16NunVAirgB7t v4MnnN/4PwDRghzVl+cXerc50G+h9IsbvQ== X-Google-Smtp-Source: AMsMyM5STfP6+EcBGPT8a7CGh8zleTbktKsnZeOfPD6M9PbrwO8TNUt3/tLEnCihx0tWaUE9ELxMtA== X-Received: by 2002:a05:620a:858:b0:6ea:8a17:19fd with SMTP id u24-20020a05620a085800b006ea8a1719fdmr1513723qku.397.1667003245933; Fri, 28 Oct 2022 17:27:25 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-21a2-cb17-4547-06d4.res6.spectrum.com. [2603:6081:7b00:6400:21a2:cb17:4547:6d4]) by smtp.gmail.com with ESMTPSA id v7-20020a05622a144700b00398313f286dsm65130qtx.40.2022.10.28.17.27.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Oct 2022 17:27:25 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Subject: [PATCH 15/21] mediatek: Include where needed Date: Fri, 28 Oct 2022 20:27:08 -0400 Message-Id: <20221029002714.1598153-15-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221029002714.1598153-1-trini@konsulko.com> References: <20221029002714.1598153-1-trini@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 These files reference SZ_ macros without including , correct this. Signed-off-by: Tom Rini --- arch/arm/mach-mediatek/mt7981/init.c | 1 + arch/arm/mach-mediatek/mt7986/init.c | 1 + arch/arm/mach-mediatek/mt8512/init.c | 1 + drivers/spi/mtk_spim.c | 1 + 4 files changed, 4 insertions(+) diff --git a/arch/arm/mach-mediatek/mt7981/init.c b/arch/arm/mach-mediatek/mt7981/init.c index 4f77a3defb02..a8955064e031 100644 --- a/arch/arm/mach-mediatek/mt7981/init.c +++ b/arch/arm/mach-mediatek/mt7981/init.c @@ -8,6 +8,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-mediatek/mt7986/init.c b/arch/arm/mach-mediatek/mt7986/init.c index 0fd459657d99..cf89e63e80ad 100644 --- a/arch/arm/mach-mediatek/mt7986/init.c +++ b/arch/arm/mach-mediatek/mt7986/init.c @@ -8,6 +8,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/arch/arm/mach-mediatek/mt8512/init.c b/arch/arm/mach-mediatek/mt8512/init.c index b7050dfc3922..5a21e9a4485c 100644 --- a/arch/arm/mach-mediatek/mt8512/init.c +++ b/arch/arm/mach-mediatek/mt8512/init.c @@ -21,6 +21,7 @@ #include #include #include +#include DECLARE_GLOBAL_DATA_PTR; diff --git a/drivers/spi/mtk_spim.c b/drivers/spi/mtk_spim.c index b45ef529a505..a7c0fc593fb1 100644 --- a/drivers/spi/mtk_spim.c +++ b/drivers/spi/mtk_spim.c @@ -22,6 +22,7 @@ #include #include #include +#include #define SPI_CFG0_REG 0x0000 #define SPI_CFG1_REG 0x0004 -- 2.25.1