am53c974: Fix crash during modprobe
authorHannes Reinecke <hare@suse.de>
Fri, 27 Mar 2015 13:31:12 +0000 (14:31 +0100)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 17 Apr 2015 17:13:56 +0000 (10:13 -0700)
On systems with shared interrupts the interrupt routine might
be called as soon as the interrupt is enabled.
As this might happen before pci_set_drvdata() is called the
system would crash.

Reported-by: Andreas Brogle <anbro@ok.de>
Tested-by: Andreas Brogle <anbro@ok.de>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>

No differences found