diff options
Diffstat (limited to 'drivers/dahdi/xpp/xdefs.h')
-rw-r--r-- | drivers/dahdi/xpp/xdefs.h | 2 |
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 |