Commit 9104e427 authored by Al Viro's avatar Al Viro
Browse files

switch sysfs attr->mode to umode_t



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 2c9ede55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -389,7 +389,7 @@ static ssize_t bios_enabled_show(struct device *dev,
	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)
{
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ enum kobj_ns_type;

struct attribute {
	const char		*name;
	mode_t			mode;
	umode_t			mode;
#ifdef CONFIG_DEBUG_LOCK_ALLOC
	struct lock_class_key	*key;
	struct lock_class_key	skey;