diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-07-20 09:04:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-03 12:08:08 +0200 |
commit | 641c2292bf19bce136832969c9d46229bcfcdccf (patch) | |
tree | b1adb77ba99ae50f76f0b35ea4e8163801aa542a /drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c | |
parent | media: atomisp: cleanup ifdefs from ia_css_debug.c (diff) | |
download | wireguard-linux-641c2292bf19bce136832969c9d46229bcfcdccf.tar.xz wireguard-linux-641c2292bf19bce136832969c9d46229bcfcdccf.zip |
media: atomisp: get rid of version-dependent globals
Replace all occurrences along the atomisp tree for the conditional
compilation macros found at system_global.h, replacing them by
tests wheather ISP2401 is defined or not.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c')
-rw-r--r-- | drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c b/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c index 89cded6b6e2b..6d9f47629fbc 100644 --- a/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c +++ b/drivers/staging/media/atomisp/pci/runtime/ifmtr/src/ifmtr.c @@ -16,7 +16,7 @@ #include "system_global.h" #include <linux/kernel.h> -#ifdef USE_INPUT_SYSTEM_VERSION_2 +#ifndef ISP2401 #include "ia_css_ifmtr.h" #include <math_support.h> |