]> git.baikalelectronics.ru Git - kernel.git/commit
staging: fsl-mc: get version of root dprc from MC hardware
authorItai Katz <itai.katz@nxp.com>
Mon, 11 Apr 2016 16:55:55 +0000 (11:55 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Apr 2016 01:00:45 +0000 (18:00 -0700)
commit5a741db56ee680eacddadad1b60602749108cdc4
treea3c62360fb9ac323d56522e291a8fcf6e3106c1e
parent419c123af4622c157c219f27da4e9cf2dd683548
staging: fsl-mc: get version of root dprc from MC hardware

The root dprc is discovered as a platform device in the device tree.  The
version of that dprc was previously set using hardcoded values from the API
header in the kernel).  This patch removes the use of the hardcoded version
numbers and instead reads the actual dprc version from the hardware.

Signed-off-by: Itai Katz <itai.katz@nxp.com>
(Stuart: resolved merge conflict, updated commit subject/log)
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Acked-by: German Rivera <german.rivera@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/mc-bus.c