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 8 #ifdef CONFIG_VIDEO_VIVID_CEC 9 struct cec_adapter *vivid_cec_alloc_adap(struct vivid_dev *dev, 10 unsigned int idx, 11 bool is_source); 12 void vivid_cec_bus_free_work(struct vivid_dev *dev); 13 14 #else 15 vivid_cec_bus_free_work(struct vivid_dev * dev)16static inline void vivid_cec_bus_free_work(struct vivid_dev *dev) 17 { 18 } 19 20 #endif 21