aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-01 10:50:35 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-06-11 19:15:51 +0200
commit69a03e36c7116ce575f7dd438f895e499aa6e790 (patch)
tree589feae4417b9ffe6ff700b981dce9abf4e95b4e /drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h
parentmedia: atomisp: get rid of a string_support.h abstraction layer (diff)
downloadwireguard-linux-69a03e36c7116ce575f7dd438f895e499aa6e790.tar.xz
wireguard-linux-69a03e36c7116ce575f7dd438f895e499aa6e790.zip
media: atomisp: get rid of an iomem abstraction layer
The hive_isp_css_custom_host_hrt.h code, together with atomisp_helper.h, provides an abstraction layer for some functions inside atomisp_compat_css20.c and atomisp_cmd.c. There's no good reason for that. In a matter of fact, after removing the abstraction, the code looked a lot cleaner and easier to understand. So, get rid of them. While here, get rid also of the udelay(1) abstraction code. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h')
-rw-r--r--drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h b/drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h
index 339edf5ff4e0..0cdef4a5e8b1 100644
--- a/drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h
+++ b/drivers/staging/media/atomisp/pci/hive_isp_css_include/platform_support.h
@@ -25,9 +25,6 @@
#include <linux/kernel.h>
#include <linux/string.h>
-/* For definition of hrt_sleep() */
-#include "hive_isp_css_custom_host_hrt.h"
-
#define UINT16_MAX USHRT_MAX
#define UINT32_MAX UINT_MAX
#define UCHAR_MAX (255)