diff options
Diffstat (limited to 'drivers/hwmon/tmp421.c')
-rw-r--r-- | drivers/hwmon/tmp421.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/tmp421.c b/drivers/hwmon/tmp421.c index 0517a8f09d3..c48381f2cd0 100644 --- a/drivers/hwmon/tmp421.c +++ b/drivers/hwmon/tmp421.c | |||
@@ -157,7 +157,7 @@ static ssize_t show_fault(struct device *dev, | |||
157 | return sprintf(buf, "0\n"); | 157 | return sprintf(buf, "0\n"); |
158 | } | 158 | } |
159 | 159 | ||
160 | static mode_t tmp421_is_visible(struct kobject *kobj, struct attribute *a, | 160 | static umode_t tmp421_is_visible(struct kobject *kobj, struct attribute *a, |
161 | int n) | 161 | int n) |
162 | { | 162 | { |
163 | struct device *dev = container_of(kobj, struct device, kobj); | 163 | struct device *dev = container_of(kobj, struct device, kobj); |