summaryrefslogtreecommitdiffstats
path: root/drivers/staging/fsl-mc
diff options
context:
space:
mode:
authorJ. German Rivera2015-10-17 18:18:17 +0200
committerGreg Kroah-Hartman2015-10-18 05:53:38 +0200
commiteceebf8bb35f14d4d4862a47fa6440eaff2698de (patch)
tree9b1ab775bab84547b8b1b9d5d63ac7d857968823 /drivers/staging/fsl-mc
parentstaging: fsl-mc: Changed dev_info() calls to dev_dbg() (diff)
downloadkernel-qcow2-linux-eceebf8bb35f14d4d4862a47fa6440eaff2698de.tar.gz
kernel-qcow2-linux-eceebf8bb35f14d4d4862a47fa6440eaff2698de.tar.xz
kernel-qcow2-linux-eceebf8bb35f14d4d4862a47fa6440eaff2698de.zip
staging: fsl-mc: Changed types of flags, portal size in
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>
Diffstat (limited to 'drivers/staging/fsl-mc')
-rw-r--r--drivers/staging/fsl-mc/include/mc-sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/fsl-mc/include/mc-sys.h b/drivers/staging/fsl-mc/include/mc-sys.h
index d4fb60289df7..7d44d8ceef9f 100644
--- a/drivers/staging/fsl-mc/include/mc-sys.h
+++ b/drivers/staging/fsl-mc/include/mc-sys.h
@@ -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;