msm: msm_bus: Correct the IOCTL command data type

User space send command in explicit type format but
IOCTL module rely on native command type format.

Correct the command type format in IOCTL module to
use explicit type.

Change-Id: I366689b39e11718e41ee021272bf625e1f735897
Signed-off-by: Alok Chauhan <alokc@codeaurora.org>
This commit is contained in:
Alok Chauhan 2015-07-01 12:45:13 +05:30
parent 5bef73983d
commit 4f7b1f5d86
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (c) 2011,2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011,2014-2015, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@ -51,7 +51,7 @@ enum msm_buspm_ioc_cmds {
_IOW(MSM_BUSPM_IOC_MAGIC, 3, struct buspm_xfer_req)
#define MSM_BUSPM_IOC_RD_PHYS_ADDR \
_IOR(MSM_BUSPM_IOC_MAGIC, 4, unsigned long)
_IOR(MSM_BUSPM_IOC_MAGIC, 4, uint32_t)
#define MSM_BUSPM_IOC_CMD \
_IOR(MSM_BUSPM_IOC_MAGIC, 5, uint32_t)