Commit 6a2782c0 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

media: atomisp: remove ISP version macros from sh_css_legacy.h



This header is really version-independent. So, just get rid
of the macros from it.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 4f744a57
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -31,18 +31,10 @@ enum ia_css_pipe_id {
	IA_CSS_PIPE_ID_VIDEO,
	IA_CSS_PIPE_ID_CAPTURE,
	IA_CSS_PIPE_ID_YUVPP,
#ifndef ISP2401
	IA_CSS_PIPE_ID_ACC,
	IA_CSS_PIPE_ID_NUM
#else
	IA_CSS_PIPE_ID_ACC
#endif
};

#ifdef ISP2401
#define IA_CSS_PIPE_ID_NUM (IA_CSS_PIPE_ID_ACC + 1)
#endif

struct ia_css_pipe_extra_config {
	bool enable_raw_binning;
	bool enable_yuv_ds;
@@ -71,9 +63,8 @@ enum ia_css_err
sh_css_set_black_frame(struct ia_css_stream *stream,
		       const struct ia_css_frame *raw_black_frame);

#ifndef ISP2401
/* ISP2400 */
void
sh_css_enable_cont_capt(bool enable, bool stop_copy_preview);

#endif
#endif /* _SH_CSS_LEGACY_H_ */