summaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2017-03-08 11:39:38 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-08 13:39:09 +0100
commite35d4427b44217f8a1188e6301ea61bfafb37b4e (patch)
treedcefe151feb8b657532760cb8105c3e01ee667af /drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include
parent0d93fe75d44884e26fe3d2c308c2b0261fb655e8 (diff)
downloadop-kernel-dev-e35d4427b44217f8a1188e6301ea61bfafb37b4e.zip
op-kernel-dev-e35d4427b44217f8a1188e6301ea61bfafb37b4e.tar.gz
atomisp: __SP is never defined so scrub this ifdef
Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include')
-rw-r--r--drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/math_support.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/math_support.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/math_support.h
index d08397d..48d84bc 100644
--- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/math_support.h
+++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/hive_isp_css_include/math_support.h
@@ -209,13 +209,13 @@ STORAGE_CLASS_INLINE unsigned int ceil_pow2(unsigned int a)
#endif /* !defined(PIPE_GENERATION) */
-#if !defined(__ISP) && !defined(__SP)
+#if !defined(__ISP)
/*
* For SP and ISP, SDK provides the definition of OP_std_modadd.
* We need it only for host
*/
#define OP_std_modadd(base, offset, size) ((base+offset)%(size))
-#endif /* !defined(__ISP) && !defined(__SP) */
+#endif /* !defined(__ISP) */
#if !defined(__KERNEL__)
#define clamp(a, min_val, max_val) MIN(MAX((a), (min_val)), (max_val))
OpenPOWER on IntegriCloud