diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-04 22:29:41 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-11 11:36:10 -0700 |
commit | 341713f265950884d2edbbf55088127a915927ad (patch) | |
tree | 49edc297d7d2f83e8ecc6d9e6663d009a431d0eb /drivers/staging | |
parent | acbbfe236eb6fa25fdfb2a8762d0ad260f6b667c (diff) | |
download | linux-stable-341713f265950884d2edbbf55088127a915927ad.tar.gz linux-stable-341713f265950884d2edbbf55088127a915927ad.tar.bz2 linux-stable-341713f265950884d2edbbf55088127a915927ad.zip |
Staging: iio: light: tsl2563: fix static sparse warning
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/light/tsl2563.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/light/tsl2563.c b/drivers/staging/iio/light/tsl2563.c index f8a08365f19d..e4b0a5ef1c1f 100644 --- a/drivers/staging/iio/light/tsl2563.c +++ b/drivers/staging/iio/light/tsl2563.c @@ -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, |