more mode_t whack-a-mole...
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 May 2013 18:46:28 +0000 (14:46 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 4 May 2013 18:46:28 +0000 (14:46 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/hwmon/abx500.c

index b4ad87b31a37519aaa1636879ed832c94194cf98..eee1134274c8bb931d445322644e0f0fac73b757 100644 (file)
@@ -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);