staging: fsl-mc: add counter to track number of root DPRCs
authorItai Katz <itai.katz@freescale.com>
Sun, 4 Oct 2015 07:09:53 +0000 (10:09 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 08:55:45 +0000 (09:55 +0100)
commit565b94506f7e2f77dc0d94b4722532358d5965c7
treed43c73ceb7ed3852475b8906785730f0d0da455e
parente4ea40f98d2fd9ec01893c0c1a4718f92adac800
staging: fsl-mc: add counter to track number of root DPRCs

Add a counter to track the number of root DPRCs.
When this counter is greater then 0 it means that at least
one root DPRC device exists.

Signed-off-by: Itai Katz <itai.katz@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c