From patchwork Sun Apr 5 23:22:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 237216 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Sun, 5 Apr 2020 17:22:38 -0600 Subject: [PATCH 4/6] x86: cbfs: Drop unwanted declaration In-Reply-To: <20200405232240.209612-1-sjg@chromium.org> References: <20200405232240.209612-1-sjg@chromium.org> Message-ID: <20200405172230.4.I9cbd1af1c7a30c06301650e4eb40641b236bbb7d@changeid> The intention here is add a forward declaration, not actually declare a variable. Fix it. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- include/cbfs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cbfs.h b/include/cbfs.h index f3bc8ca24af..d915f9426d8 100644 --- a/include/cbfs.h +++ b/include/cbfs.h @@ -135,7 +135,7 @@ void file_cbfs_get_next(const struct cbfs_cachenode **file); */ const struct cbfs_cachenode *file_cbfs_find(const char *name); -struct cbfs_priv *priv; +struct cbfs_priv; /** * cbfs_find_file() - Find a file in a given CBFS