OSDN Git Service

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)
commit5e0947450d16de5fd59fa43d04a53c5df037d54b
treea9b8cb5346b9420f885ea42bf4430b4d4d719a59
parent6a2782c0b2a0a2ed1d877d3a708308b36496950c
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