remove all conditional compilation in video driver. With this change, all files willbe always compiled and will be available in final kernel object file. Change-Id: I9843c246e23bd1ee4fb8918e5cfa840e2defd432 Signed-off-by: Govindaraj Rajagopal <quic_grajagop@quicinc.com>
34 rader
848 B
C
34 rader
848 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef _MSM_VIDC_IRIS3_H_
|
|
#define _MSM_VIDC_IRIS3_H_
|
|
|
|
#include "msm_vidc_core.h"
|
|
|
|
#if defined(CONFIG_MSM_VIDC_KALAMA)
|
|
int msm_vidc_init_iris3(struct msm_vidc_core *core);
|
|
int msm_vidc_deinit_iris3(struct msm_vidc_core *core);
|
|
int msm_vidc_adjust_bitrate_boost_iris3(void *instance, struct v4l2_ctrl *ctrl);
|
|
#else
|
|
static inline int msm_vidc_init_iris3(struct msm_vidc_core *core)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
|
|
static inline int msm_vidc_deinit_iris3(struct msm_vidc_core *core)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
|
|
static inline int msm_vidc_adjust_bitrate_boost_iris3(void *instance, struct v4l2_ctrl *ctrl)
|
|
{
|
|
return -EINVAL;
|
|
}
|
|
#endif
|
|
|
|
#endif // _MSM_VIDC_IRIS3_H_
|