Re: [PATCH] 2.6.0-test9 Fix oops in quirk_via_bridge
From: Michael Clark
Date: Fri Oct 31 2003 - 05:39:29 EST
On 10/31/03 18:00, Russell King wrote:
On Fri, Oct 31, 2003 at 05:58:39PM +0800, Michael Clark wrote:
Your fix looks 99% correct, except for the "__devinitdata" part - if
you drop this and resubmit the patch, I'm sure gregkh will take it.
Cool. dropped __devinitdata, tested and works. Now I can suspend
and resume then insert my ieee1394 cardbus controller with no oops.
~mc
--- linux-2.6.0-test9/drivers/pci/quirks.c 2003-10-31 16:49:25.000000000 +0800
+++ linux-2.6.0-test9-mc/drivers/pci/quirks.c 2003-10-31 18:27:41.000000000 +0800
@@ -646,7 +646,7 @@
int interrupt_line_quirk;
-static void __init quirk_via_bridge(struct pci_dev *pdev)
+static void __devinit quirk_via_bridge(struct pci_dev *pdev)
{
if(pdev->devfn == 0)
interrupt_line_quirk = 1;