[POWERPC] QE: Make qe_get_firmware_info reentrant
authorIonut Nicu <ionut.nicu@freescale.com>
Fri, 7 Mar 2008 17:27:59 +0000 (19:27 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 10 Mar 2008 18:07:27 +0000 (13:07 -0500)
commit86f4e5d4335556191b436b41b0ad2f719c4a98d4
tree8aa1f2453df03df59037d69fc263a389dc3a94da
parentad562c71592ae76440c27bba9bfa9c16cc851560
[POWERPC] QE: Make qe_get_firmware_info reentrant

The function was returning NULL the second time it was
called if the firmware was uploaded from the boot loader
or the first time it was called if the firmware was
uploaded from the kernel.

Signed-off-by: Ionut Nicu <ionut.nicu@freescale.com>
Acked-By: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/qe_lib/qe.c