OSDN Git Service

bus: fsl-mc: explicitly define the fsl_mc_command endianness
authorIoana Ciornei <ioana.ciornei@nxp.com>
Thu, 15 Nov 2018 12:12:12 +0000 (12:12 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Dec 2018 14:53:15 +0000 (15:53 +0100)
commitd693eb39f5f8500ac950378b010fba78452fcf14
tree2a05b9c84f44c1b557475e59a5309b4e9d010042
parent4b4bdfe7d4a02a5c88ec242e3469cb81e00f1f34
bus: fsl-mc: explicitly define the fsl_mc_command endianness

Both the header and the command parameters of the fsl_mc_command are
64-bit little-endian words. Use the appropriate type to explicitly
specify their endianness.

Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/fsl/mc.h