From: Al Viro Date: Sat, 4 May 2013 18:46:28 +0000 (-0400) Subject: more mode_t whack-a-mole... X-Git-Tag: v3.10-rc1~98^2~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=60b7bf4e61dd45e2fe06bd16ba04984405b564f1;p=profile%2Fcommon%2Fkernel-common.git more mode_t whack-a-mole... Signed-off-by: Al Viro --- diff --git a/drivers/hwmon/abx500.c b/drivers/hwmon/abx500.c index b4ad87b..eee1134 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);