diff options
author | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-01-18 19:17:46 +0000 |
---|---|---|
committer | Tzafrir Cohen <tzafrir.cohen@xorcom.com> | 2009-01-18 19:17:46 +0000 |
commit | 6bde548b2f7e782d01bafacdebbb81166632d69f (patch) | |
tree | 376fbb0711bab8bcd1ce0479d19c0c609f59901b /drivers/dahdi/xpp/xbus-sysfs.c | |
parent | ed2efaf659bd149e3fd144a2c86be2a84e4add82 (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.c | 1 |
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 ----*/ |