diff options
author | Simon Glass <sjg@chromium.org> | 2021-02-04 21:17:14 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2021-02-06 19:18:41 +0800 |
commit | 0e89b85906eafa22971f685fe5b184852f7b4eb0 (patch) | |
tree | 44249382a8f0e3d32be8b0e5868cb18ea3bb7dfd /include/smbios.h | |
parent | 68f6a90ec27c46f804f7ee5a2e736fb2c24f71de (diff) | |
download | u-boot-0e89b85906eafa22971f685fe5b184852f7b4eb0.tar.gz |
smbios: Move smbios_write_type to the C file
This type is not used outside the smbios.c file so there is no need for it
to be in the header file. Move it.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/smbios.h')
-rw-r--r-- | include/smbios.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/smbios.h b/include/smbios.h index 1846607c3c..fc69188a8f 100644 --- a/include/smbios.h +++ b/include/smbios.h @@ -220,16 +220,6 @@ static inline void fill_smbios_header(void *table, int type, } /** - * Function prototype to write a specific type of SMBIOS structure - * - * @addr: start address to write the structure - * @handle: the structure's handle, a unique 16-bit number - * @node: node containing the information to write (ofnode_null() if none) - * @return: size of the structure - */ -typedef int (*smbios_write_type)(ulong *addr, int handle, ofnode node); - -/** * write_smbios_table() - Write SMBIOS table * * This writes SMBIOS table at a given address. |