mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
more mode_t whack-a-mole...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e86d35c38e
commit
60b7bf4e61
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user