qcom_spss.h 563 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2021, The Linux Foundation. All rights reserved.
  4. * Copyright (c) 2021-2022, Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef _QCOM_RPROC_SPSS_H_
  7. #define _QCOM_RPROC_SPSS_H_
  8. /*
  9. * Include this file only after including linux/remoteproc.h
  10. */
  11. #if IS_ENABLED(CONFIG_QCOM_SPSS)
  12. extern int qcom_spss_set_fw_name(struct rproc *rproc, const char *fw_name);
  13. #else
  14. static inline int qcom_spss_set_fw_name(struct rproc *rproc, const char *fw_name)
  15. {
  16. return -ENODEV;
  17. }
  18. #endif
  19. #endif