summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm24xxp/base.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2008-06-17 22:48:27 +0000
committerKevin P. Fleming <kpfleming@digium.com>2008-06-17 22:48:27 +0000
commit04bb1a509c1ac1d680ba1bf458822d0277b1af52 (patch)
tree37217a8b3be4016856267099b16d1bd5a529da87 /drivers/dahdi/wctdm24xxp/base.c
parent82750add3d81c7e8b66fb314f4bd8d722015ed6c (diff)
another batch of fixes for non-hotplug firmware handling
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4385 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wctdm24xxp/base.c')
-rw-r--r--drivers/dahdi/wctdm24xxp/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/wctdm24xxp/base.c b/drivers/dahdi/wctdm24xxp/base.c
index dcf22b4..d5bbb7e 100644
--- a/drivers/dahdi/wctdm24xxp/base.c
+++ b/drivers/dahdi/wctdm24xxp/base.c
@@ -3287,7 +3287,6 @@ static enum vpmadt032_init_result wctdm_vpm150m_init(struct wctdm *wc)
struct vpm150m *vpm150m;
unsigned short reg;
unsigned long flags;
- struct pci_dev* pdev = voicebus_get_pci_dev(wc->vb);
enum vpmadt032_init_result res = VPMADT032_FAILED;
#ifdef VPM150M_SUPPORT
@@ -3299,6 +3298,7 @@ static enum vpmadt032_init_result wctdm_vpm150m_init(struct wctdm *wc)
extern u8 _binary_dahdi_fw_vpmadt032_bin_start[];
#else
static const char vpmadt032_firmware[] = "dahdi-fw-vpmadt032.bin";
+ struct pci_dev *pdev = voicebus_get_pci_dev(wc->vb);
#endif
gpakDownloadStatus_t downloadstatus;
gpakPingDspStat_t pingstatus;