summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xdefs.h
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-09-30 18:09:42 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2009-09-30 18:09:42 +0000
commit2baba3425563c7293163d711e481516ae2b59246 (patch)
tree8cf4d16b92c47735a0c40d99ae582b4f78bf7f43 /drivers/dahdi/xpp/xdefs.h
parentd8052050454fd6d0ab8430384cb7131715087266 (diff)
move the dev->bus_id fix from xpp to kernel.h: needed elsewhere
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7293 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xdefs.h')
-rw-r--r--drivers/dahdi/xpp/xdefs.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/dahdi/xpp/xdefs.h b/drivers/dahdi/xpp/xdefs.h
index ad89d4c..24b2291 100644
--- a/drivers/dahdi/xpp/xdefs.h
+++ b/drivers/dahdi/xpp/xdefs.h
@@ -138,11 +138,6 @@ typedef unsigned char byte;
#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
-#define dev_set_name(dev, format, ...) \
- snprintf((dev)->bus_id, BUS_ID_SIZE, format, ## __VA_ARGS__);
-#endif
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,30)
#define SET_PROC_DIRENTRY_OWNER(p) do { (p)->owner = THIS_MODULE; } while(0);
#else