mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 13:34:10 +08:00
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
Block a user