summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-07-20 09:04:43 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-03 12:08:08 +0200
commit641c2292bf19bce136832969c9d46229bcfcdccf (patch)
treeb1adb77ba99ae50f76f0b35ea4e8163801aa542a /drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
parentbd674b5a413c2bb4fa3892d2106b1eb005886be5 (diff)
downloadlinux-641c2292bf19bce136832969c9d46229bcfcdccf.tar.bz2
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/hive_isp_css_include/host/isys_dma_public.h')
-rw-r--r--drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h b/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
index 23a158b81b13..88ac78f69e7b 100644
--- a/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
+++ b/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
@@ -16,7 +16,7 @@
#ifndef __ISYS_DMA_PUBLIC_H_INCLUDED__
#define __ISYS_DMA_PUBLIC_H_INCLUDED__
-#ifdef USE_INPUT_SYSTEM_VERSION_2401
+#ifdef ISP2401
#include "system_local.h"
#include "type_support.h"
@@ -34,6 +34,6 @@ void isys2401_dma_set_max_burst_size(
const isys2401_dma_ID_t dma_id,
uint32_t max_burst_size);
-#endif /* USE_INPUT_SYSTEM_VERSION_2401 */
+#endif /* ISP2401 */
#endif /* __ISYS_DMA_PUBLIC_H_INCLUDED__ */