aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/irda/toim3232-sir.c
diff options
context:
space:
mode:
authorBen Hutchings <ben@decadent.org.uk>2011-03-28 17:10:43 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-30 00:12:32 -0700
commitabc45592bce8267a8e651c12ce94a1f83eaac7a6 (patch)
tree26734a7c7c65a0ee856f31a5e9634778b6041f48 /drivers/net/irda/toim3232-sir.c
parent93ca3bb5df9bc8b2c60485e1cc6507c3d7c8e1fa (diff)
downloadkernel_samsung_aries-abc45592bce8267a8e651c12ce94a1f83eaac7a6.zip
kernel_samsung_aries-abc45592bce8267a8e651c12ce94a1f83eaac7a6.tar.gz
kernel_samsung_aries-abc45592bce8267a8e651c12ce94a1f83eaac7a6.tar.bz2
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: Ben Hutchings <ben@decadent.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/irda/toim3232-sir.c')
0 files changed, 0 insertions, 0 deletions