From: Ben Hutchings Date: Mon, 28 Mar 2011 17:10:43 +0000 (+0000) Subject: via-ircc: Use pci_{get, set}_drvdata() instead of static pointer variable X-Git-Tag: v2.6.39-rc2~33^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abc45592bce8267a8e651c12ce94a1f83eaac7a6;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed