summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcte12xp/wcte12xp.h
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2009-11-09 18:11:06 +0000
committerShaun Ruffell <sruffell@digium.com>2009-11-09 18:11:06 +0000
commit69a273fd5b6082283335eb4fb6bda1c29310d693 (patch)
treea947324f41107553da256e675c98f43a796cf5d8 /drivers/dahdi/wcte12xp/wcte12xp.h
parent81dc74462fffe74712a1d8392f0af2e19f78cf20 (diff)
wcte12xp: use the dev_xxx macro for the debounce messages.
We want to know which device is reporting the debounce when there are more than one card in the system. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@7536 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcte12xp/wcte12xp.h')
-rw-r--r--drivers/dahdi/wcte12xp/wcte12xp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dahdi/wcte12xp/wcte12xp.h b/drivers/dahdi/wcte12xp/wcte12xp.h
index d6c5d7e..03d10a6 100644
--- a/drivers/dahdi/wcte12xp/wcte12xp.h
+++ b/drivers/dahdi/wcte12xp/wcte12xp.h
@@ -139,4 +139,7 @@ struct t1 {
struct work_struct timer_work;
};
+#define t1_info(t1, format, arg...) \
+ dev_info(&voicebus_get_pci_dev(t1->vb)->dev , format , ## arg)
+
#endif