cam_icp_subdev.h 490 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2019, The Linux Foundation. All rights reserved.
  4. */
  5. #ifndef _CAM_ICP_SUBDEV_H_
  6. #define _CAM_ICP_SUBDEV_H_
  7. /**
  8. * @brief : API to register ICP subdev to platform framework.
  9. * @return struct platform_device pointer on on success, or ERR_PTR() on error.
  10. */
  11. int cam_icp_init_module(void);
  12. /**
  13. * @brief : API to remove ICP subdev from platform framework.
  14. */
  15. void cam_icp_exit_module(void);
  16. #endif /* _CAM_ICP_SUBDEV_H_ */