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:
Greg Kroah-Hartman 2010-05-04 22:29:41 -07:00
parent acbbfe236e
commit 341713f265

View File

@ -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,