}
-static inline bool_t __init dmi_checksum(const void __iomem *buf,
- unsigned int len)
+static inline bool __init dmi_checksum(const void __iomem *buf,
+ unsigned int len)
{
u8 sum = 0;
const u8 *p = buf;
* On return, year, month and day are guaranteed to be in the
* range of [0,9999], [0,12] and [0,31] respectively.
*/
-bool_t __init dmi_get_date(int field, int *yearp, int *monthp, int *dayp)
+bool __init dmi_get_date(int field, int *yearp, int *monthp, int *dayp)
{
int year = 0, month = 0, day = 0;
- bool_t exists;
+ bool exists;
const char *s, *e, *y;
s = field < DMI_STRING_MAX ? dmi_ident[field] : NULL;
extern void dmi_scan_machine(void);
extern const char *dmi_get_table(paddr_t *base, u32 *len);
extern void dmi_efi_get_table(const void *smbios, const void *smbios3);
-bool_t dmi_get_date(int field, int *yearp, int *monthp, int *dayp);
+bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp);
extern void dmi_end_boot(void);
#endif /* __DMI_H__ */