intel_scu_ipcutil: re-arch IPC ioctl struct
authorShijie Zhang <shijie.zhang@intel.com>
Wed, 25 Apr 2012 11:37:38 +0000 (19:37 +0800)
committerbuildbot <buildbot@intel.com>
Fri, 27 Apr 2012 02:55:16 +0000 (19:55 -0700)
commita68fc7894183e4882989e54a0de078acc08c82f8
tree6aa47c6db82bcd6ece54cdf26d635b8f46d46236
parent05c712ae9144cba8d71b61d41d4af11edff858fe
intel_scu_ipcutil: re-arch IPC ioctl struct

BZ: 33355

Userspace IPC ioctl is using self defined command and struct, it will
cause inconsistent problem if ethier kernel or userspace side is making
some changes. Correct way should be exporting the kernel ioctl command
and struct to the userspace with kernel header file to keep them
consisent. This patch fixes this problem.

Change-Id: Icdc6e51f254279fba980935610e837bf6208f12b
Signed-off-by: Shijie Zhang <shijie.zhang@intel.com>
Reviewed-on: http://android.intel.com:8080/46003
Reviewed-by: Chen, Jie D <jie.d.chen@intel.com>
Reviewed-by: Li, Ning <ning.li@intel.com>
Reviewed-by: Du, Alek <alek.du@intel.com>
Tested-by: Wang, Zhifeng <zhifeng.wang@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
arch/x86/include/asm/intel_scu_ipcutil.h
drivers/platform/x86/intel_scu_ipcutil.c