powerpc/fsl_msi: add removal path and probe failing path

Also cleanup the probe function.

Signed-off-by: Li Yang <leoli@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
Li Yang
2010-04-22 16:31:39 +08:00
committed by Kumar Gala
parent 061ca4adfb
commit 480599933a
2 changed files with 31 additions and 6 deletions

View File

@@ -32,6 +32,7 @@ struct fsl_msi {
u32 msi_addr_hi;
void __iomem *msi_regs;
u32 feature;
int msi_virqs[NR_MSI_REG];
struct msi_bitmap bitmap;