summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xbus-sysfs.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 15:53:42 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-10-27 15:53:42 +0000
commite396adac543af4d7a37b75a27b8a1df4b5711ae5 (patch)
tree3f630390d7c54f91351256db1c94e34926b66d8c /drivers/dahdi/xpp/xbus-sysfs.c
parent6de98753b5606aeae01a92c026e7c67a0419bb21 (diff)
xpp: Make some definitions static, as per sparse.
Fixes the xpp warnings of #13763 (except some false alarms). git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5131 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xbus-sysfs.c')
-rw-r--r--drivers/dahdi/xpp/xbus-sysfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/xpp/xbus-sysfs.c b/drivers/dahdi/xpp/xbus-sysfs.c
index 86e22e0..449b4ea 100644
--- a/drivers/dahdi/xpp/xbus-sysfs.c
+++ b/drivers/dahdi/xpp/xbus-sysfs.c
@@ -215,7 +215,7 @@ field##_show(struct device *dev, char *buf) \
xbus_attr(connector, "%s\n");
xbus_attr(label, "%s\n");
-struct device_attribute xbus_dev_attrs[] = {
+static struct device_attribute xbus_dev_attrs[] = {
__ATTR_RO(connector),
__ATTR_RO(label),
__ATTR_RO(status),
@@ -574,7 +574,7 @@ static int xpd_match(struct device *dev, struct device_driver *driver)
return 1;
}
-struct device_attribute xpd_dev_attrs[] = {
+static struct device_attribute xpd_dev_attrs[] = {
__ATTR(chipregs, S_IRUGO | S_IWUSR, chipregs_show, chipregs_store),
__ATTR(blink, S_IRUGO | S_IWUSR, blink_show, blink_store),
__ATTR(span, S_IRUGO | S_IWUSR, span_show, span_store),