diff options
author | Shaun Ruffell <sruffell@digium.com> | 2011-01-21 05:32:14 +0000 |
---|---|---|
committer | Shaun Ruffell <sruffell@digium.com> | 2011-01-21 05:32:14 +0000 |
commit | 5fbfc87f37554ccaf3309268ca20595a5412d528 (patch) | |
tree | 6499fdfb490e3c467ac7f8fa19093c084d57688f /drivers/dahdi/wcb4xxp/base.c | |
parent | 8c51454d34bae9f17da7f93564a2954f99b9b8a9 (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>
Origin: http://svnview.digium.com/svn/dahdi?view=rev&rev=9554
git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/branches/2.4@9688 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/wcb4xxp/base.c')
0 files changed, 0 insertions, 0 deletions