X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fsmbios.h;h=c24d00e38dd433da831375a6972cae4d85484fde;hb=8c1ce928f498774a3e2c3aa03534b6e6ca6d4759;hp=d582d4f7abb2c9258509450cf042da85d9e1f549;hpb=4f892924d238cc415891dbea336a0fdaff2f853b;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_ */