summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wcb4xxp
diff options
context:
space:
mode:
authorShaun Ruffell <sruffell@digium.com>2011-01-03 13:03:49 +0000
committerShaun Ruffell <sruffell@digium.com>2011-01-03 13:03:49 +0000
commit432f0a03f987be6bc8ccdff867beca7d66a920e7 (patch)
tree6a2fbf5501bb46370faef819c41727de6c67aa5b /drivers/dahdi/wcb4xxp
parentbe23397d419c097644fb39bbcc8df2cd59e978e7 (diff)
wcte12xp, wctdm24xxp: Do not call pci_set_drvdata after device initialization.
Instead of using pci_set_drvdata embed the 'struct voicebus_operations' directly in the context so we can use container_of to find the context. This resolves a problem where the 'remove_one' callback gets an invalid pointer to 'struct t1' if the VPMADT032 is in the middle of a reload when the module is unloading. DAHDI-783. Signed-off-by: Shaun Ruffell <sruffell@digium.com> git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9554 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp')
0 files changed, 0 insertions, 0 deletions