From patchwork Thu Dec 14 18:16:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rini X-Patchwork-Id: 1876358 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=DniSkBEu; 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 4Srgbq03j5z20H6 for ; Fri, 15 Dec 2023 05:19:19 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CC6DB87BA5; Thu, 14 Dec 2023 19:17:18 +0100 (CET) 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="DniSkBEu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 877C187B8B; Thu, 14 Dec 2023 19:17:15 +0100 (CET) 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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) (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 5023287B5C for ; Thu, 14 Dec 2023 19:17:13 +0100 (CET) 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-yw1-x1134.google.com with SMTP id 00721157ae682-5d226f51f71so81973027b3.3 for ; Thu, 14 Dec 2023 10:17:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1702577831; x=1703182631; 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=ZOKbNvVU3dtmS2xPD3NSufBN0eE0LnHacIu3eak5QqQ=; b=DniSkBEuQOs6HZ3WwvaM3WJm3ZnQ2KKLDxflD3LPyvUXY3I5uS2lvQJ27jqvUiQu6M CZewCgqtjph+RQm5Mdk8CgVYEdIDcE5YPIR8buAEXav2Ln9w0ihU8b1A1nmcP9rwzfp0 xj+4ZdaDJGQmUy2vaVBtKmXHf2C0XCPxiKctc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702577831; x=1703182631; 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=ZOKbNvVU3dtmS2xPD3NSufBN0eE0LnHacIu3eak5QqQ=; b=LLRf4GFYMcQ9Doq19zRqz3j/r4iyw2/vL1ymIxyUBCsDj7rQSiBacBmtDgKrecERPh sbXSGKMGhe4qCtJ7GGw2PnxT+pR5k5m6mS8np3YygHgOPrc6+qx2JSgluXiT6NPtQO0B fxM3ju/dWMuSwkkLZfUPUN7bk0xdBo0RPuRKH5rm41VH8ei/kAWdkaZL/Ci9ZG1y2jm/ X9AbU7QpYiWObpFBW+wMu1jH0HMTYksLNRN5C95gBJp4n1yOGhWmLgA/DItOE5rUWLlX 3C1NzD5gnw9KJ7BbUQtoObCZzOaIKkTtCKUjSle4fw5X1GC7FdaNREnVquoJGp0BeMPL SsSg== X-Gm-Message-State: AOJu0YzqjbGa1F+u+9czPWjrY6qBedxAmFhh8ncV2NMbvMsk9YzPtiXI lPi3tBaXq2Buu0gKCBPxnIqI9HmtSjt4HyTK4dA= X-Google-Smtp-Source: AGHT+IHjW1C7wHDKPqtXWLf5JEYTnKCOQHSEJlT9gGmjvO05ucpoAfe9H9wcigJtq/5mImRaDzekLw== X-Received: by 2002:a81:6c0e:0:b0:5e1:aa35:2c8b with SMTP id h14-20020a816c0e000000b005e1aa352c8bmr5272463ywc.12.1702577831184; Thu, 14 Dec 2023 10:17:11 -0800 (PST) Received: from bill-the-cat.lan (2603-6081-7b00-6400-ef43-b142-0a3d-20b7.res6.spectrum.com. [2603:6081:7b00:6400:ef43:b142:a3d:20b7]) by smtp.gmail.com with ESMTPSA id s129-20020a0dd087000000b005d361dd6454sm5665698ywd.87.2023.12.14.10.17.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 10:17:10 -0800 (PST) From: Tom Rini To: u-boot@lists.denx.de Cc: Simon Glass Subject: [v2 14/16] display_options: Clean up headers Date: Thu, 14 Dec 2023 13:16:56 -0500 Message-Id: <20231214181658.3359902-14-trini@konsulko.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231214181658.3359902-1-trini@konsulko.com> References: <20231214181658.3359902-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 In include/display_options.h we cannot include ourself, but do need directly. Then in lib/display_options.c we further clean the list to remove common.h. Signed-off-by: Tom Rini Reviewed-by: Simon Glass --- lib/display_options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/display_options.c b/lib/display_options.c index 80def5201f96..d6b93553dcb5 100644 --- a/lib/display_options.c +++ b/lib/display_options.c @@ -4,14 +4,15 @@ * Wolfgang Denk, DENX Software Engineering, wd@denx.de. */ -#include #include #include #include #include #include #include +#include #include +#include char *display_options_get_banner_priv(bool newlines, const char *build_tag, char *buf, int size)