staging: fsl-mc: fixed bug in uninitialized root dprc irq count
authorJ. German Rivera <German.Rivera@freescale.com>
Sat, 17 Oct 2015 16:18:23 +0000 (11:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:53:38 +0000 (20:53 -0700)
commita17f4aa62724732b4c3922d5a3a8d22b19ed2901
tree5f0080ddbc79811123c97302cbc73921d7c3d62c
parent2379bdbc6c37ad9db6538dbe8f56f18968b566ad
staging: fsl-mc: fixed bug in uninitialized root dprc irq count

When initializing the object attributes for the root dprc, the
irq_count was uninitialized. Initialize it to 1.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c