staging: fsl-mc: add dpmcp version check
authorItai Katz <[email protected]>
Mon, 11 Apr 2016 16:56:11 +0000 (11:56 -0500)
committerGreg Kroah-Hartman <[email protected]>
Sat, 30 Apr 2016 01:00:45 +0000 (18:00 -0700)
commit01f9330846a3aa314a4b784499724b05803f24e6
treea17d95990a72e1cb195b17de1c83777bae4ce88e
parentae014c23d5267e1bd2bbafab0e1c741c202496a5
staging: fsl-mc: add dpmcp version check

The dpmcp driver supports dpmcp version 3.0 and above.
This patch adds the code to check the version.

Signed-off-by: Itai Katz <[email protected]>
Signed-off-by: Stuart Yoder <[email protected]>
Acked-by: German Rivera <[email protected]>
 drivers/staging/fsl-mc/bus/dpmcp-cmd.h    |    6 +++---
 drivers/staging/fsl-mc/bus/mc-allocator.c |   11 +++++++++++
 2 files changed, 14 insertions(+), 3 deletions(-)
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/fsl-mc/bus/dpmcp-cmd.h
drivers/staging/fsl-mc/bus/mc-allocator.c