For consistency with the new efivar_is_available() function, change the
return type of efivar_supports_writes() to bool.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
}
EXPORT_SYMBOL_GPL(efivars_unregister);
-int efivar_supports_writes(void)
+bool efivar_supports_writes(void)
{
return __efivars && __efivars->ops->set_variable;
}
static inline bool efivar_is_available(void) { return false; }
#endif
-int efivar_supports_writes(void);
+bool efivar_supports_writes(void);
int efivar_lock(void);
int efivar_trylock(void);