media: atomisp: get rid of version-dependent globals
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 20 Jul 2020 07:04:43 +0000 (09:04 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 3 Sep 2020 10:08:08 +0000 (12:08 +0200)
commit641c2292bf19bce136832969c9d46229bcfcdccf
treeb1adb77ba99ae50f76f0b35ea4e8163801aa542a
parentbd674b5a413c2bb4fa3892d2106b1eb005886be5
media: atomisp: get rid of version-dependent globals

Replace all occurrences along the atomisp tree for the conditional
compilation macros found at system_global.h, replacing them by
tests wheather ISP2401 is defined or not.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
40 files changed:
drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_local.h
drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_private.h
drivers/staging/media/atomisp/pci/css_2401_system/isys_irq_global.h
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_formatter.c
drivers/staging/media/atomisp/pci/hive_isp_css_common/host/input_system.c
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/csi_rx_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ibuf_ctrl_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_irq_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/pixelgen_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/isys_irq.h
drivers/staging/media/atomisp/pci/ia_css_stream.h
drivers/staging/media/atomisp/pci/isp/kernels/raw/raw_1.0/ia_css_raw.host.c
drivers/staging/media/atomisp/pci/isp2400_input_system_public.h
drivers/staging/media/atomisp/pci/isp2400_system_global.h [deleted file]
drivers/staging/media/atomisp/pci/isp2401_system_global.h [deleted file]
drivers/staging/media/atomisp/pci/runtime/binary/src/binary.c
drivers/staging/media/atomisp/pci/runtime/bufq/interface/ia_css_bufq_comm.h
drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c
drivers/staging/media/atomisp/pci/runtime/isys/interface/ia_css_isys.h
drivers/staging/media/atomisp/pci/runtime/isys/interface/ia_css_isys_comm.h
drivers/staging/media/atomisp/pci/runtime/isys/src/csi_rx_rmgr.c
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_dma_rmgr.c
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_init.c
drivers/staging/media/atomisp/pci/runtime/isys/src/isys_stream2mmio_rmgr.c
drivers/staging/media/atomisp/pci/runtime/isys/src/rx.c
drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c
drivers/staging/media/atomisp/pci/runtime/pipeline/interface/ia_css_pipeline.h
drivers/staging/media/atomisp/pci/runtime/pipeline/src/pipeline.c
drivers/staging/media/atomisp/pci/sh_css.c
drivers/staging/media/atomisp/pci/sh_css_defs.h
drivers/staging/media/atomisp/pci/sh_css_internal.h
drivers/staging/media/atomisp/pci/sh_css_mipi.c
drivers/staging/media/atomisp/pci/sh_css_param_shading.c
drivers/staging/media/atomisp/pci/sh_css_params.c
drivers/staging/media/atomisp/pci/sh_css_sp.c
drivers/staging/media/atomisp/pci/sh_css_sp.h
drivers/staging/media/atomisp/pci/sh_css_struct.h
drivers/staging/media/atomisp/pci/system_global.h