qcom_ubwcp_heap.h 394 B

123456789101112131415161718
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
  4. */
  5. #ifndef _QCOM_UBWCP_HEAP_H
  6. #define _QCOM_UBWCP_HEAP_H
  7. #ifdef CONFIG_QCOM_DMABUF_HEAPS_UBWCP
  8. int qcom_ubwcp_heap_create(char *name, bool movable);
  9. #else
  10. int qcom_ubwcp_heap_create(char *name, bool movable)
  11. {
  12. return 0;
  13. }
  14. #endif
  15. #endif /* _QCOM_UBWCP_HEAP_H */