X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsmbios.h;h=c24d00e38dd433da831375a6972cae4d85484fde;hb=3741c044cbf584b741b6bd4c58fda2ad69bb2b15;hp=d582d4f7abb2c9258509450cf042da85d9e1f549;hpb=e663b350f1699312281ddd1439dda6b5fc86598d;p=u-boot diff --git a/include/smbios.h b/include/smbios.h index d582d4f7ab..c24d00e38d 100644 --- a/include/smbios.h +++ b/include/smbios.h @@ -225,7 +225,7 @@ static inline void fill_smbios_header(void *table, int type, * @handle: the structure's handle, a unique 16-bit number * @return: size of the structure */ -typedef int (*smbios_write_type)(uintptr_t *addr, int handle); +typedef int (*smbios_write_type)(ulong *addr, int handle); /** * write_smbios_table() - Write SMBIOS table @@ -235,6 +235,6 @@ typedef int (*smbios_write_type)(uintptr_t *addr, int handle); * @addr: start address to write SMBIOS table * @return: end address of SMBIOS table */ -uintptr_t write_smbios_table(uintptr_t addr); +ulong write_smbios_table(ulong addr); #endif /* _SMBIOS_H_ */