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/css_2401_system/host/isys_irq_local.h | |
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/css_2401_system/host/isys_irq_local.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_local.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_local.h b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_local.h index e3d6d5e1634e..a76987190292 100644 --- a/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_local.h +++ b/drivers/staging/media/atomisp/pci/css_2401_system/host/isys_irq_local.h @@ -18,7 +18,7 @@ #include <type_support.h> -#if defined(USE_INPUT_SYSTEM_VERSION_2401) +#if defined(ISP2401) typedef struct isys_irqc_state_s isys_irqc_state_t; @@ -31,6 +31,6 @@ struct isys_irqc_state_s { /*hrt_data clear; */ /* write-only register */ }; -#endif /* defined(USE_INPUT_SYSTEM_VERSION_2401) */ +#endif /* defined(ISP2401) */ #endif /* __ISYS_IRQ_LOCAL_H__ */ |