diff mbox series

[v2,4/7] x86: cbfs: Drop unwanted declaration

Message ID 20200426133808.v2.4.I9cbd1af1c7a30c06301650e4eb40641b236bbb7d@changeid
State Accepted
Commit 43a1230adfbf44fd2a8b77aa73528a1d3e604de6
Headers show
Series x86: efi: Add a 64-bit coreboot payload | expand

Commit Message

Simon Glass April 26, 2020, 7:38 p.m. UTC
The intention here is add a forward declaration, not actually declare a
variable. Fix it.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2: None

 include/cbfs.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/cbfs.h b/include/cbfs.h
index f3bc8ca24a..d915f9426d 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