android_kernel_oneplus_msm8998/include/linux/msm_smd_pkt.h
Dhoat Harpal 87d20dd4d3 char: msm_smd_pkt: Add snapshot of SMD packet driver
This snapshot is taken as of
msm-3.18 'commit 7e1165aac628 ("Merge drivers: iio: bmi160:
Enabled the buffering support for BMI160 Sensor")'

CRs-Fixed: 2035593
Change-Id: I2951e77f226062d82e84a26fce6ab932b9685223
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2017-04-20 16:36:44 +05:30

23 lines
777 B
C

/* Copyright (c) 2010,2017 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
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef __LINUX_MSM_SMD_PKT_H
#define __LINUX_MSM_SMD_PKT_H
#include <linux/ioctl.h>
#define SMD_PKT_IOCTL_MAGIC (0xC2)
#define SMD_PKT_IOCTL_BLOCKING_WRITE \
_IOR(SMD_PKT_IOCTL_MAGIC, 0, unsigned int)
#endif /* __LINUX_MSM_SMD_PKT_H */