aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-04-30 13:56:47 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-05-20 12:32:20 +0200
commit3c0538fbad9f1d07d588f631e380256d941e3d3a (patch)
tree6114c764deaa4ff6e6e49f27d43daf421e236499 /drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c
parentmedia: atomisp: cleanup contents of css_2401_system (diff)
downloadlinux-dev-3c0538fbad9f1d07d588f631e380256d941e3d3a.tar.xz
linux-dev-3c0538fbad9f1d07d588f631e380256d941e3d3a.zip
media: atomisp: get rid of most checks for ISP2401 version
There are lots of places inside this driver checking for ISP2400/ISP2401 verison. Get rid of most of those, while keep building for both. Most of stuff in this patch is trivial to solve. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c')
-rw-r--r--drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c b/drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c
index ceef7d048232..9a795a21d3e6 100644
--- a/drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c
+++ b/drivers/staging/media/atomisp/pci/runtime/isys/src/virtual_isys.c
@@ -1,4 +1,3 @@
-#ifndef ISP2401
/*
* Support for Intel Camera Imaging ISP subsystem.
* Copyright (c) 2015, Intel Corporation.
@@ -12,21 +11,6 @@
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/
-#else
-/*
-Support for Intel Camera Imaging ISP subsystem.
-Copyright (c) 2010 - 2015, Intel Corporation.
-
-This program is free software; you can redistribute it and/or modify it
-under the terms and conditions of the GNU General Public License,
-version 2, as published by the Free Software Foundation.
-
-This program is distributed in the hope it will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
-FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
-more details.
-*/
-#endif
#include "system_global.h"
@@ -45,9 +29,7 @@ more details.
* Forwarded Declaration
*
*************************************************/
-#ifndef ISP2401
-#endif
static bool create_input_system_channel(
input_system_cfg_t *cfg,
bool metadata,