diff options
-rw-r--r-- | include/smbios.h | 10 | ||||
-rw-r--r-- | lib/smbios.c | 10 |
2 files changed, 10 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. diff --git a/lib/smbios.c b/lib/smbios.c index 1e10fa8420..b1171f544a 100644 --- a/lib/smbios.c +++ b/lib/smbios.c @@ -18,6 +18,16 @@ #endif /** + * 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); + +/** * struct smbios_write_method - Information about a table-writing function * * @write: Function to call |