]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
powerpc/fsl/pci: Fix when quirk_fsl_pcie_header is freed up
authorMatias Garcia <mgarcia@rossvideo.com>
Mon, 19 Sep 2011 15:35:11 +0000 (11:35 -0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 10 Jul 2012 12:07:19 +0000 (07:07 -0500)
commitdea0ed4a64b9d62b266d54350c2514fa7b2b1dbd
tree5bad3770119651ef4910d6be2819a90dd24751d0
parentdb9112173b185995b80f56e136bd2ae44e4e6366
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>
arch/powerpc/sysdev/fsl_pci.c