]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: remove table duplication from dfs tables
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 23 Apr 2020 07:29:54 +0000 (09:29 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:16 +0000 (12:32 +0200)
commit77463c4d04a5e6d54c74ac366a33f629ff9043ac
treea9b8cb5346b9420f885ea42bf4430b4d4d719a59
parent51bb990f65f9f5154e959ab5fa50f406997d05eb
media: atomisp: remove table duplication from dfs tables

The way atomisp_dfs_tables.h is defined, it ends by duplicating
all data structs there on both atomisp_v4l2.c and atomisp_cmd.c.

Change the logic in order to place the definitions only on a single
place.

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