From patchwork Thu May 2 01:30:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1930466 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.a=rsa-sha256 header.s=google header.b=tmBELhkE; dkim-atps=neutral Authentication-Results: legolas.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=patchwork.ozlabs.org) 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 ECDSA (secp384r1)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VVGjp5d3Vz1ydX for ; Thu, 2 May 2024 11:36:14 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B430988C58; Thu, 2 May 2024 03:32:26 +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="tmBELhkE"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id F002388C58; Thu, 2 May 2024 03:32:25 +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,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-qt1-x82b.google.com (mail-qt1-x82b.google.com [IPv6:2607:f8b0:4864:20::82b]) (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 7741888C38 for ; Thu, 2 May 2024 03:32:23 +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-qt1-x82b.google.com with SMTP id d75a77b69052e-43b0b09d012so17697291cf.3 for ; Wed, 01 May 2024 18:32:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1714613542; x=1715218342; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=0WoBWWkNyBBx4V+F9FWN4vIoB+6yivbN1AAIEUQGEqw=; b=tmBELhkEYlhyT58u14Wsg9/xXeljill0morlzj1MVM5e2CloyeCg2a4Q9S7a3+gKLX 9mqOnA93spwCXZe9GCjfhsosim5J3Awag2eUfIhdwSedqH+//BcsAUVtBPwAfCNtEtNS 1OlbZ/TKkLsoOjumknc1xnO2Z1iGbq4ySeMUo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714613542; x=1715218342; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0WoBWWkNyBBx4V+F9FWN4vIoB+6yivbN1AAIEUQGEqw=; b=Lj0uCw/3UoAeagsAaJ/dqp61kAubRBARoGK9dOyiw56f9hgYerH2OLNm6P7eBgI2WL M6V1cS20tN+jycbqAEM6I/zNxS8UBrivJ3zTLJDG+Zi14MD6oQQGF2oT2MwLGtJcYKue 1B3C7NXjfe3fXKcdbVHU1mDHMpD3dyb8W2buVGj5ybPfLd9tnKLDX7wbl83p/u+XqsPF Rk1QsrPkubzNgcXcAr8nwqHbY2wpNW7BT9jtY7QIDZXNQFbII5FkfdnuZOJVfZ7F/4KY kG2yjHXsrPV5CxY+6e4nYNYZ75gyODFe0UyrZe5I7mrChlLKQq0gYwhoIRYflXKh78JI Ue/w== X-Gm-Message-State: AOJu0Yx/EVMulsnuLYgF18BBbbRWYOYM9WShhl4/tX0LouGXh7VfwIwH Q0MqmwU2Uc2ewqD2mZ4KRfIAPyqXfzKAjmyBgYZaKELSbf5r5nTiPBvu2aw5Mm/BadfGjCM8buQ HtOEw1SCr X-Google-Smtp-Source: AGHT+IHeLuCW3IpxXyVkthAYpNmGPPM4/j6tm0mlhV+eaPxaQ/098QLxOBd8JreXvzroqJ3/Z3KpFg== X-Received: by 2002:ac8:5a8e:0:b0:43b:7:7d81 with SMTP id c14-20020ac85a8e000000b0043b00077d81mr4488990qtc.66.1714613542039; Wed, 01 May 2024 18:32:22 -0700 (PDT) Received: from bill-the-cat.tail58a08.ts.net ([187.144.98.216]) by smtp.gmail.com with ESMTPSA id c6-20020ac80546000000b00436bb57faddsm12737444qth.25.2024.05.01.18.32.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 18:32:21 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Mattijs Korpershoek Subject: [PATCH 28/81] fastboot: Remove and add needed includes Date: Wed, 1 May 2024 19:30:45 -0600 Message-Id: <20240502013138.2383421-28-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240502013138.2383421-1-trini@konsulko.com> References: <20240502013138.2383421-1-trini@konsulko.com> MIME-Version: 1.0 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.8 at phobos.denx.de X-Virus-Status: Clean Remove from this driver directory and when needed add missing include files directly. Signed-off-by: Tom Rini Reviewed-by: Mattijs Korpershoek --- Cc: Mattijs Korpershoek Cc: Tom Rini --- drivers/fastboot/fb_command.c | 2 +- drivers/fastboot/fb_common.c | 2 +- drivers/fastboot/fb_getvar.c | 2 +- drivers/fastboot/fb_mmc.c | 1 - drivers/fastboot/fb_nand.c | 1 - 5 files changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/fastboot/fb_command.c b/drivers/fastboot/fb_command.c index 01443c5d39e2..e4484d65aca5 100644 --- a/drivers/fastboot/fb_command.c +++ b/drivers/fastboot/fb_command.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 The Android Open Source Project */ -#include #include #include #include @@ -13,6 +12,7 @@ #include #include #include +#include #include /** diff --git a/drivers/fastboot/fb_common.c b/drivers/fastboot/fb_common.c index 3576b0677299..12ffb463deb9 100644 --- a/drivers/fastboot/fb_common.c +++ b/drivers/fastboot/fb_common.c @@ -11,11 +11,11 @@ */ #include -#include #include #include #include #include +#include /** * fastboot_buf_addr - base address of the fastboot download buffer diff --git a/drivers/fastboot/fb_getvar.c b/drivers/fastboot/fb_getvar.c index f65519c57b47..93cbd598e024 100644 --- a/drivers/fastboot/fb_getvar.c +++ b/drivers/fastboot/fb_getvar.c @@ -3,7 +3,6 @@ * Copyright (C) 2016 The Android Open Source Project */ -#include #include #include #include @@ -12,6 +11,7 @@ #include #include #include +#include #include static void getvar_version(char *var_parameter, char *response); diff --git a/drivers/fastboot/fb_mmc.c b/drivers/fastboot/fb_mmc.c index 060918e49109..f11eb66761b1 100644 --- a/drivers/fastboot/fb_mmc.c +++ b/drivers/fastboot/fb_mmc.c @@ -4,7 +4,6 @@ */ #include -#include #include #include #include diff --git a/drivers/fastboot/fb_nand.c b/drivers/fastboot/fb_nand.c index bbe26ddcc9be..afc64fd52807 100644 --- a/drivers/fastboot/fb_nand.c +++ b/drivers/fastboot/fb_nand.c @@ -5,7 +5,6 @@ */ #include -#include #include #include