[svn-commits] tzafrir: linux/trunk r5131 - /linux/trunk/drivers/dahdi/xpp/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Oct 27 10:53:43 CDT 2008
Author: tzafrir
Date: Mon Oct 27 10:53:42 2008
New Revision: 5131
URL: http://svn.digium.com/view/dahdi?view=rev&rev=5131
Log:
xpp: Make some definitions static, as per sparse.
Fixes the xpp warnings of #13763 (except some false alarms).
Modified:
linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c
linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
Modified: linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c?view=diff&rev=5131&r1=5130&r2=5131
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xbus-sysfs.c Mon Oct 27 10:53:42 2008
@@ -215,7 +215,7 @@
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 @@
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),
Modified: linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c
URL: http://svn.digium.com/view/dahdi/linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c?view=diff&rev=5131&r1=5130&r2=5131
==============================================================================
--- linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c (original)
+++ linux/trunk/drivers/dahdi/xpp/xpp_dahdi.c Mon Oct 27 10:53:42 2008
@@ -119,7 +119,7 @@
/*------------------------- 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;
More information about the svn-commits
mailing list