mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 06:17:26 -04:00
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>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* (c) 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||
*/
|
||||
|
||||
#ifdef ISP2401
|
||||
# include "isp2401_input_system_global.h"
|
||||
#else
|
||||
# include "isp2400_input_system_global.h"
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* (c) 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||
*/
|
||||
|
||||
#ifdef ISP2401
|
||||
# include "isp2401_input_system_local.h"
|
||||
#else
|
||||
# include "isp2400_input_system_local.h"
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* (c) 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||
*/
|
||||
|
||||
#ifdef ISP2401
|
||||
# include "isp2401_input_system_private.h"
|
||||
#else
|
||||
# include "isp2400_input_system_private.h"
|
||||
#endif
|
||||
@@ -0,0 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* (c) 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||
*/
|
||||
|
||||
#ifndef ISP2401
|
||||
# include "isp2400_input_system_public.h"
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* (c) 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||
*/
|
||||
|
||||
#ifdef ISP2401
|
||||
# include "isp2401_system_global.h"
|
||||
#else
|
||||
# include "isp2400_system_global.h"
|
||||
#endif
|
||||
@@ -0,0 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
/*
|
||||
* (c) 2020 Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
|
||||
*/
|
||||
|
||||
#ifdef ISP2401
|
||||
# include "isp2401_system_local.h"
|
||||
#else
|
||||
# include "isp2400_system_local.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user