Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
return sprintf(buf, "%s\n", bios_enabled ? "enabled" : "disabled");
}
return sprintf(buf, "%s\n", bios_enabled ? "enabled" : "disabled");
}
-static int intel_menlow_add_one_attribute(char *name, int mode, void *show,
+static int intel_menlow_add_one_attribute(char *name, umode_t mode, void *show,
void *store, struct device *dev,
acpi_handle handle)
{
void *store, struct device *dev,
acpi_handle handle)
{
struct attribute {
const char *name;
struct attribute {
const char *name;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
struct lock_class_key *key;
struct lock_class_key skey;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
struct lock_class_key *key;
struct lock_class_key skey;