OSDN Git Service

media: atomisp: ia_css_stream.h: remove ifdefs from the header
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 14 Nov 2021 11:44:37 +0000 (11:44 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 16 Nov 2021 14:37:09 +0000 (14:37 +0000)
Now that the input system always declare rx_cfg_t, we can
remove the ifdef ISP2401 from this header.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/ia_css_stream.h

index 70b0378..cf84758 100644 (file)
@@ -18,9 +18,7 @@
 
 #include <type_support.h>
 #include <system_local.h>
-#if !defined(ISP2401)
 #include <input_system.h>
-#endif
 #include "ia_css_types.h"
 #include "ia_css_stream_public.h"
 
@@ -30,9 +28,7 @@
 struct ia_css_stream {
        struct ia_css_stream_config    config;
        struct ia_css_stream_info      info;
-#if !defined(ISP2401)
        rx_cfg_t                       csi_rx_config;
-#endif
        bool                           reconfigure_css_rx;
        struct ia_css_pipe            *last_pipe;
        int                            num_pipes;