]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: move global stuff into a common header
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sat, 18 Jul 2020 08:26:26 +0000 (10:26 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 06:08:33 +0000 (08:08 +0200)
commit9a1d07ae3b8d7d0871b63c3f720989021ace1755
treefac6f37226184fef6eb0b014cbf43b8315bb2262
parent6d11ae38f5651bb6224c2daf19d1f93c0509911d
media: atomisp: move global stuff into a common header

Right now, there are two versions of system_global.h headers.

Both share a lot of common code. There are some ISP2401 specific
types on one of the headers, but it doesn't conflict with the
ISP2400 ones.

Also, the common code is identical.

So, remove code duplication by moving such code into a
common header.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/isp2400_system_global.h
drivers/staging/media/atomisp/pci/isp2400_system_local.h
drivers/staging/media/atomisp/pci/isp2401_system_global.h
drivers/staging/media/atomisp/pci/isp2401_system_local.h
drivers/staging/media/atomisp/pci/sh_css.c
drivers/staging/media/atomisp/pci/system_global.h
drivers/staging/media/atomisp/pci/system_local.h