summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xdefs.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-05-19 15:58:14 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-05-19 15:58:14 +0000
commitbc110fe9b114b8e3b99f068ad9b3aac6466ee63d (patch)
tree48d460edef7ef0b94583e18d95ef5f99a3c74f99 /drivers/dahdi/xpp/xdefs.h
parent3edbbea09a2931b9a6cc9154576b67edcfa37218 (diff)
xpp: report in sysfs if bri module uses hardhdlc support
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@6640 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xdefs.h')
-rw-r--r--drivers/dahdi/xpp/xdefs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xdefs.h b/drivers/dahdi/xpp/xdefs.h
index 1a25e68..e55c706 100644
--- a/drivers/dahdi/xpp/xdefs.h
+++ b/drivers/dahdi/xpp/xdefs.h
@@ -135,6 +135,8 @@ typedef unsigned char byte;
#define DEVICE_ATTR_WRITER(name,dev,buf, count) \
ssize_t name(struct device *dev, const char *buf, size_t count)
#endif
+#define DRIVER_ATTR_READER(name,drv,buf) \
+ ssize_t name(struct device_driver *drv, char * buf)
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,26)
#define dev_name(dev) (dev)->bus_id