Skip to content
Commit abc45592 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

via-ircc: Use pci_{get, set}_drvdata() instead of static pointer variable



via-ircc still maintains its own array of device pointers in Linux 2.4
style.  Worse, it always uses index 0, so it will crash if there are
multiple suitable devices in the system.

Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 93ca3bb5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment