OSDN Git Service

media: atomisp: make all file names unique at atomisp driver
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 29 Apr 2020 19:55:48 +0000 (21:55 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:19 +0000 (12:32 +0200)
commitb82cd6b7f587bb6638d6a1cc5254437a9f69a4be
treef0d181689d4651a25c89291a0117acfb184a4ca3
parentc6552aebbe6cae982fd33bd885fcc111da3eeed8
media: atomisp: make all file names unique at atomisp driver

The *system_*.h files contain ISP-specific definitions, and are
used everywhere.

While the best would be to get rid of those in favor of some
ISP-specific structs, a change like that would require lots
of changes.

So, instead, let's rename those files replacing them by new
ones with ISP ifdefs on it, in order to select between the
two different versions.

We shall later convert this to some abrstraction layer,
but this change should help to be able to build support for
either ISP2400 or ISP2401.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
17 files changed:
drivers/staging/media/atomisp/pci/atomisp2/css2400/input_system_global.h [new file with mode: 0644]
drivers/staging/media/atomisp/pci/atomisp2/css2400/input_system_local.h [new file with mode: 0644]
drivers/staging/media/atomisp/pci/atomisp2/css2400/input_system_private.h [new file with mode: 0644]
drivers/staging/media/atomisp/pci/atomisp2/css2400/input_system_public.h [new file with mode: 0644]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2400_input_system_local.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system_local.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2400_input_system_private.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/input_system_private.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2400_input_system_public.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/host/input_system_public.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2400_system_global.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/system_global.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2400_system_local.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/host/system_local.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2401_input_system_global.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/input_system_global.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2401_input_system_local.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/input_system_local.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2401_input_system_private.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/input_system_private.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2401_system_global.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/system_global.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/isp2401_system_local.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/system_local.h with 100% similarity]
drivers/staging/media/atomisp/pci/atomisp2/css2400/system_global.h [new file with mode: 0644]
drivers/staging/media/atomisp/pci/atomisp2/css2400/system_local.h [new file with mode: 0644]
drivers/staging/media/atomisp/pci/atomisp2/isp2400_input_system_global.h [moved from drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_common/input_system_global.h with 100% similarity]