summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/abx500.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-05-04 20:46:28 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2013-05-04 20:46:28 +0200
commit60b7bf4e61dd45e2fe06bd16ba04984405b564f1 (patch)
tree2577c0e6d59ebfa009c4b274163589612eda967c /drivers/hwmon/abx500.c
parentdo_coredump(): don't wait for thaw if coredump has already been interrupted (diff)
downloadlinux-60b7bf4e61dd45e2fe06bd16ba04984405b564f1.tar.xz
linux-60b7bf4e61dd45e2fe06bd16ba04984405b564f1.zip
more mode_t whack-a-mole...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/hwmon/abx500.c')
-rw-r--r--drivers/hwmon/abx500.c2
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,
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);