vivid-cec.h 477 B

1234567891011121314151617181920
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * vivid-cec.h - A Virtual Video Test Driver, cec emulation
  4. *
  5. * Copyright 2016 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
  6. */
  7. #ifdef CONFIG_VIDEO_VIVID_CEC
  8. struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev,
  9. unsigned int idx,
  10. bool is_source);
  11. void vivid_cec_bus_free_work(struct vivid_dev *dev);
  12. #else
  13. static inline void vivid_cec_bus_free_work(struct vivid_dev *dev)
  14. {
  15. }
  16. #endif