Loading drivers/staging/android/ion/msm/msm_ion.h +20 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,12 @@ int msm_ion_secure_buffer(struct ion_client *client, struct ion_handle *handle, */ int msm_ion_unsecure_buffer(struct ion_client *client, struct ion_handle *handle); int msm_ion_secure_table(struct sg_table *table, enum cp_mem_usage usage, int flags); int msm_ion_unsecure_table(struct sg_table *table); #else static inline struct ion_client *msm_ion_client_create(const char *name) { Loading Loading @@ -201,6 +207,20 @@ static inline int msm_ion_unsecure_buffer(struct ion_client *client, { return -ENODEV; } static inline int msm_ion_secure_table(struct sg_table *table, enum cp_mem_usage usage, int flags) { return -ENODEV; } static inline int msm_ion_unsecure_table(struct sg_table *table) { return -ENODEV; } #endif /* CONFIG_ION */ #endif Loading
drivers/staging/android/ion/msm/msm_ion.h +20 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,12 @@ int msm_ion_secure_buffer(struct ion_client *client, struct ion_handle *handle, */ int msm_ion_unsecure_buffer(struct ion_client *client, struct ion_handle *handle); int msm_ion_secure_table(struct sg_table *table, enum cp_mem_usage usage, int flags); int msm_ion_unsecure_table(struct sg_table *table); #else static inline struct ion_client *msm_ion_client_create(const char *name) { Loading Loading @@ -201,6 +207,20 @@ static inline int msm_ion_unsecure_buffer(struct ion_client *client, { return -ENODEV; } static inline int msm_ion_secure_table(struct sg_table *table, enum cp_mem_usage usage, int flags) { return -ENODEV; } static inline int msm_ion_unsecure_table(struct sg_table *table) { return -ENODEV; } #endif /* CONFIG_ION */ #endif