summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/wcte12xp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2010-02-08 22:49:33 +0000
committerShaun Ruffell <sruffell@digium.com>2010-02-08 22:49:33 +0000
commit9c403912cd5ffdc975e6eaf15d835e60804af4c4 (patch)
tree0ed49d08bcacb6a77f6083437934b57f377cdb2c /drivers/dahdi/wcte12xp/wcte12xp.h
parentf67ad3bba13254b84674d0aef55cfa5046f5b347 (diff)
wcte12xp, wctdm24xxp: Declare static symbols that aren't externally referenced.
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@8005 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/wcte12xp.h')
-rw-r--r--drivers/dahdi/wcte12xp/wcte12xp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/dahdi/wcte12xp/wcte12xp.h b/drivers/dahdi/wcte12xp/wcte12xp.h
index 904de0a..dd385bb 100644
--- a/drivers/dahdi/wcte12xp/wcte12xp.h
+++ b/drivers/dahdi/wcte12xp/wcte12xp.h
@@ -77,8 +77,8 @@
#define TYPE_T1 1
#define TYPE_E1 2
-#define module_printk(fmt, args...) printk(KERN_INFO "%s: " fmt, te12xp_driver.name, ## args)
-#define debug_printk(level, fmt, args...) if (debug >= level) printk(KERN_DEBUG "%s (%s): " fmt, te12xp_driver.name, __FUNCTION__, ## args)
+#define module_printk(fmt, args...) printk(KERN_INFO "%s: " fmt, THIS_MODULE->name, ## args)
+#define debug_printk(level, fmt, args...) if (debug >= level) printk(KERN_DEBUG "%s (%s): " fmt, THIS_MODULE->name, __FUNCTION__, ## args)
extern spinlock_t ifacelock;
struct command {