From 726592a9be0bdf919399d3dfa633f8e2d69cbf13 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 19 May 2012 10:00:52 -0400 Subject: [PATCH] mode_t whack-a-mole: ->is_visible() returns umode_t... Signed-off-by: Al Viro --- drivers/base/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/soc.c b/drivers/base/soc.c index ba29b2e73d48..72b5e7280d14 100644 --- a/drivers/base/soc.c +++ b/drivers/base/soc.c @@ -42,7 +42,7 @@ struct device *soc_device_to_device(struct soc_device *soc_dev) return &soc_dev->dev; } -static mode_t soc_attribute_mode(struct kobject *kobj, +static umode_t soc_attribute_mode(struct kobject *kobj, struct attribute *attr, int index) { -- 2.30.2