Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60b7bf4e authored by Al Viro's avatar Al Viro
Browse files

more mode_t whack-a-mole...



Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent e86d35c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -260,7 +260,7 @@ static ssize_t show_max_alarm(struct device *dev,
	return sprintf(buf, "%d\n", data->max_alarm[attr->index]);
}

static mode_t abx500_attrs_visible(struct kobject *kobj,
static umode_t abx500_attrs_visible(struct kobject *kobj,
				   struct attribute *attr, int n)
{
	struct device *dev = container_of(kobj, struct device, kobj);