commit | e4ea40f98d2fd9ec01893c0c1a4718f92adac800 | [log] [tgz] |
---|---|---|
author | Itai Katz <itai.katz@freescale.com> | Sun Oct 04 10:09:52 2015 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Oct 04 09:55:45 2015 +0100 |
tree | 96428d2dc4bc4e8b357843dd461bcfce84f1431d | |
parent | b55f00c6edf380e8bb2211dfd466f7c36500f2fe [diff] |
staging: fsl-mc: add function to return pointer to root dprc To support multiple root dprcs, instead of relying on the dev_root field of the bus type struct, instead create a function to traverse to the root dprc and return a pointer to the device struct Signed-off-by: Itai Katz <itai.katz@freescale.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>