powerpc: Refactor board check for PCI quirks on FSL boards with uli1575
authorKumar Gala <galak@kernel.crashing.org>
Wed, 15 Apr 2009 19:33:38 +0000 (14:33 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 19 May 2009 05:46:15 +0000 (00:46 -0500)
commit9bf8b2741e6cd2e5ee98bfc050e3694890fdc811
treee746b3d992adb54076b5e313d29a9d7916eeab67
parent28eac2b74cc7136dee3f2615167811d24d25bc97
powerpc: Refactor board check for PCI quirks on FSL boards with uli1575

Refactor the check to determine if the quirk is applicable to the boards
into one inline function so we only have to change one place to add more
boards that the quirks might be applicable to.

Also removed a warning related to unused temp variable.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/fsl_uli1575.c