powerpc/fsl/pci: Fix when quirk_fsl_pcie_header is freed up
Change quirk_fsl_pcie_header from __init to __devinit to ensure if we have a runtime access (like via an FPGA being loaded after boot on the PCIe link) that we dont access randomly freed memory. Signed-off-by: Matias Garcia <mgarcia@rossvideo.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
db9112173b
commit
dea0ed4a64
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@
|
|||
|
||||
static int fsl_pcie_bus_fixup, is_mpc83xx_pci;
|
||||
|
||||
static void __init quirk_fsl_pcie_header(struct pci_dev *dev)
|
||||
static void __devinit quirk_fsl_pcie_header(struct pci_dev *dev)
|
||||
{
|
||||
u8 progif;
|
||||
|
||||
|
|
Loading…
Reference in a new issue