staging: fsl-mc: add support for device type
authorLaurentiu Tudor <laurentiu.tudor@nxp.com>
Fri, 17 Nov 2017 13:38:33 +0000 (15:38 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:41 +0000 (09:20 +0100)
commit47433b630b7b30d0daa360c64308c0f4c9632986
tree0d59b627c793467035db4e6ac62e1d8c97907d93
parenta385dd7b37174aa7956ea092dd9204b395e3f204
staging: fsl-mc: add support for device type

The MC bus has different types of devices and this is supported by
device model. This patch adds initial support for device types
(defines them, adds helpers and sets the device type).

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/bus/fsl-mc-bus.c
drivers/staging/fsl-mc/include/mc.h