diff options
author | Shaun Ruffell <sruffell@digium.com> | 2009-11-09 18:11:06 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2009-11-09 18:11:06 +0000 |
commit | 88e4e5a674a4167530c76d96a9631be4fa6f728c (patch) | |
tree | a947324f41107553da256e675c98f43a796cf5d8 /drivers/dahdi/wcte12xp/wcte12xp.h | |
parent | 22fd577be96b43b1e20d34359955e979bd8958dc (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.h | 3 |
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 |