diff options
-rw-r--r-- | drivers/dahdi/xpp/xbus-sysfs.c | 4 | ||||
-rw-r--r-- | drivers/dahdi/xpp/xpp_dahdi.c | 2 |
2 files changed, 3 insertions, 3 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), diff --git a/drivers/dahdi/xpp/xpp_dahdi.c b/drivers/dahdi/xpp/xpp_dahdi.c index f778f48..b1a7121 100644 --- a/drivers/dahdi/xpp/xpp_dahdi.c +++ b/drivers/dahdi/xpp/xpp_dahdi.c @@ -119,7 +119,7 @@ static int proc_xpd_blink_write(struct file *file, const char __user *buffer, un /*------------------------- XPD Management -------------------------*/ -atomic_t *refcount_xpd(xpd_t *xpd) +static atomic_t *refcount_xpd(xpd_t *xpd) { struct kref *kref = &xpd->xpd_dev.kobj.kref; |