summaryrefslogtreecommitdiff
path: root/drivers/dahdi/wctdm.c
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
commitad3aaef4d31dca706277e1da8802abd3798a779f (patch)
tree6a2fbf5501bb46370faef819c41727de6c67aa5b /drivers/dahdi/wctdm.c
parentebf065a99b77633016dcf7edb410219bfa362b03 (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/wctdm.c')
0 files changed, 0 insertions, 0 deletions