summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xpd.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-07-13 08:44:36 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2010-07-13 08:44:36 +0000
commit330259c92d09fba56efca9d5be4cd2b237645725 (patch)
treefa94a11bc75abf2b9ce026a6e3d2f4bbc48f2569 /drivers/dahdi/xpp/xpd.h
parent5b506aee19dd5e0e7cbfb10451c05ebf2bcb9739 (diff)
Cleanup: refcount_xpd()
* Change refcount_xpd(): instead of returning a pointer to the atomic counter, return directly its value (just like refcount_xbus()) * Add a refcount_xbus and refcount_xpd attributes to sysfs (for debugging) git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8878 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xpd.h')
-rw-r--r--drivers/dahdi/xpp/xpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xpd.h b/drivers/dahdi/xpp/xpd.h
index daf1954..d58b40a 100644
--- a/drivers/dahdi/xpp/xpd.h
+++ b/drivers/dahdi/xpp/xpd.h
@@ -257,6 +257,7 @@ int xpd_driver_register(struct device_driver *driver);
void xpd_driver_unregister(struct device_driver *driver);
xpd_t *get_xpd(const char *msg, xpd_t *xpd);
void put_xpd(const char *msg, xpd_t *xpd);
+int refcount_xpd(xpd_t *xpd);
#endif