From: Matias Garcia Date: Mon, 19 Sep 2011 15:35:11 +0000 (-0400) Subject: powerpc/fsl/pci: Fix when quirk_fsl_pcie_header is freed up X-Git-Tag: v3.6-rc1~132^2~3^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dea0ed4a64b9d62b266d54350c2514fa7b2b1dbd;p=pandora-kernel.git 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 Signed-off-by: Kumar Gala --- Reading git-diff-tree failed