staging: fsl-mc: Changed types of flags, portal size in
authorJ. German Rivera <German.Rivera@freescale.com>
Sat, 17 Oct 2015 16:18:17 +0000 (11:18 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 03:53:38 +0000 (20:53 -0700)
Changed these two fields from 32-bit integers to 16-bit integers in
struct fsl_mc_io, as 32 bits is too much for these fields. This
change does not affect other components since fsl_mc_io is an opaque
type.

Signed-off-by: J. German Rivera <German.Rivera@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fsl-mc/include/mc-sys.h

index d4fb602..7d44d8c 100644 (file)
@@ -54,8 +54,8 @@ struct mc_command;
  */
 struct fsl_mc_io {
        struct device *dev;
-       u32 flags;
-       u32 portal_size;
+       u16 flags;
+       u16 portal_size;
        phys_addr_t portal_phys_addr;
        void __iomem *portal_virt_addr;
        struct fsl_mc_device *dpmcp_dev;