Commit d0b674ac authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: atomisp: get rid of ifdef nonsense

There are some ifdefs there that end doing the same thing.
Get rid of them.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 35a933d4
...@@ -21,15 +21,15 @@ ...@@ -21,15 +21,15 @@
#include "input_system_global.h" #include "input_system_global.h"
#include "input_system_defs.h" /* HIVE_ISYS_GPREG_MULTICAST_A_IDX,... */ #include "input_system_defs.h" /* HIVE_ISYS_GPREG_MULTICAST_A_IDX,... */
#include "css_receiver_2400_defs.h" /* _HRT_CSS_RECEIVER_2400_TWO_PIXEL_EN_REG_IDX, _HRT_CSS_RECEIVER_2400_CSI2_FUNC_PROG_REG_IDX,... */
#if defined(IS_ISP_2400_MAMOIADA_SYSTEM) /*
#include "isp_capture_defs.h" * _HRT_CSS_RECEIVER_2400_TWO_PIXEL_EN_REG_IDX,
#elif defined(IS_ISP_2401_MAMOIADA_SYSTEM) * _HRT_CSS_RECEIVER_2400_CSI2_FUNC_PROG_REG_IDX,...
/* Same name, but keep the distinction,it is a different device */ */
#include "css_receiver_2400_defs.h"
#include "isp_capture_defs.h" #include "isp_capture_defs.h"
#else
#error "input_system_local.h: 2400_SYSTEM must be one of {2400, 2401 }"
#endif
#include "isp_acquisition_defs.h" #include "isp_acquisition_defs.h"
#include "input_system_ctrl_defs.h" #include "input_system_ctrl_defs.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment