Staging: iio: light: tsl2563: fix static sparse warning
Cc: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
acbbfe236e
commit
341713f265
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue