diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/soc/qcom/msm_tz_smmu.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/soc/qcom/msm_tz_smmu.h b/include/soc/qcom/msm_tz_smmu.h index 13657cd03f48..4f4a64c09a8e 100644 --- a/include/soc/qcom/msm_tz_smmu.h +++ b/include/soc/qcom/msm_tz_smmu.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2015, The Linux Foundation. All rights reserved. +/* Copyright (c) 2015-2016, 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 @@ -53,6 +53,7 @@ enum tz_smmu_device_id { int msm_tz_smmu_atos_start(struct device *dev, int cb_num); int msm_tz_smmu_atos_end(struct device *dev, int cb_num); enum tz_smmu_device_id msm_dev_to_device_id(struct device *dev); +void msm_tz_set_cb_format(enum tz_smmu_device_id sec_id, int cbndx); #else @@ -71,6 +72,11 @@ static inline enum tz_smmu_device_id msm_dev_to_device_id(struct device *dev) return -EINVAL; } +static inline void msm_tz_set_cb_format(enum tz_smmu_device_id sec_id, + int cbndx) +{ +} + #endif /* CONFIG_MSM_TZ_SMMU */ #endif /* __MSM_TZ_SMMU_H__ */ |
