projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acbbfe2
)
Staging: iio: light: tsl2563: fix static sparse warning
author
Greg Kroah-Hartman
<gregkh@suse.de>
Wed, 5 May 2010 05:29:41 +0000
(22:29 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 11 May 2010 18:36:10 +0000
(11:36 -0700)
Cc: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/light/tsl2563.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/light/tsl2563.c
b/drivers/staging/iio/light/tsl2563.c
index f8a08365f19dd978d2067fd52e5590c3527191a2..e4b0a5ef1c1f4913d39870c9ef363917ca552e83 100644
(file)
--- 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,