From: Sergei Shtylyov Date: Tue, 11 May 2010 07:08:03 +0000 (-0700) Subject: cmd640: fix kernel oops in test_irq() method X-Git-Tag: v2.6.35-rc1~409^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9ddabc52ce3757a4331d6c1e8bf4065333cc51b;p=pandora-kernel.git cmd640: fix kernel oops in test_irq() method When implementing the test_iqr() method, I forgot that this driver is not an ordinary PCI driver and also needs to support VLB variant of the chip. Moreover, 'hwif->dev' should be NULL, potentially causing oops in pci_read_config_byte(). Signed-off-by: Sergei Shtylyov Signed-off-by: David S. Miller --- Reading git-diff-tree failed