diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 14:46:28 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-04 14:46:28 -0400 |
commit | 60b7bf4e61dd45e2fe06bd16ba04984405b564f1 (patch) | |
tree | 2577c0e6d59ebfa009c4b274163589612eda967c | |
parent | e86d35c38e37eb64cb5d11933c42a2a72f16ce23 (diff) |
more mode_t whack-a-mole...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r-- | drivers/hwmon/abx500.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index b4ad87b31a37..eee1134274c8 100644 --- a/drivers/hwmon/abx500.c +++ b/drivers/hwmon/abx500.c | |||
@@ -260,7 +260,7 @@ static ssize_t show_max_alarm(struct device *dev, | |||
260 | return sprintf(buf, "%d\n", data->max_alarm[attr->index]); | 260 | return sprintf(buf, "%d\n", data->max_alarm[attr->index]); |
261 | } | 261 | } |
262 | 262 | ||
263 | static mode_t abx500_attrs_visible(struct kobject *kobj, | 263 | static umode_t abx500_attrs_visible(struct kobject *kobj, |
264 | struct attribute *attr, int n) | 264 | struct attribute *attr, int n) |
265 | { | 265 | { |
266 | struct device *dev = container_of(kobj, struct device, kobj); | 266 | struct device *dev = container_of(kobj, struct device, kobj); |