Commit 341713f2 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: iio: light: tsl2563: fix static sparse warning

Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent acbbfe23
......@@ -607,7 +607,7 @@ static ssize_t tsl2563_show_name(struct device *dev,
return sprintf(buf, "%s\n", chip->client->name);
}
DEVICE_ATTR(name, S_IRUGO, tsl2563_show_name, NULL);
static DEVICE_ATTR(name, S_IRUGO, tsl2563_show_name, NULL);
static struct attribute *tsl2563_attributes[] = {
&dev_attr_adc0.attr,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment