summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xbus-sysfs.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-18 19:17:46 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-01-18 19:17:46 +0000
commit6bde548b2f7e782d01bafacdebbb81166632d69f (patch)
tree376fbb0711bab8bcd1ce0479d19c0c609f59901b /drivers/dahdi/xpp/xbus-sysfs.c
parented2efaf659bd149e3fd144a2c86be2a84e4add82 (diff)
xpp: sysfs attribute arrays should be NULL-Terminated.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@5688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xbus-sysfs.c')
-rw-r--r--drivers/dahdi/xpp/xbus-sysfs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xbus-sysfs.c b/drivers/dahdi/xpp/xbus-sysfs.c
index 8d1f35a..566bc0f 100644
--- a/drivers/dahdi/xpp/xbus-sysfs.c
+++ b/drivers/dahdi/xpp/xbus-sysfs.c
@@ -63,6 +63,7 @@ static ssize_t sync_store(struct device_driver *driver, const char *buf, size_t
static struct driver_attribute xpp_attrs[] = {
__ATTR(sync, S_IRUGO | S_IWUSR, sync_show, sync_store),
+ __ATTR_NULL,
};
/*--------- Sysfs Bus handling ----*/