diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-01 10:50:35 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-06-11 19:15:51 +0200 |
commit | 69a03e36c7116ce575f7dd438f895e499aa6e790 (patch) | |
tree | 589feae4417b9ffe6ff700b981dce9abf4e95b4e /drivers/staging/media/atomisp/pci/atomisp_compat.h | |
parent | media: atomisp: get rid of a string_support.h abstraction layer (diff) | |
download | wireguard-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/atomisp_compat.h')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp_compat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp_compat.h b/drivers/staging/media/atomisp/pci/atomisp_compat.h index 6a2a81a3eb23..b2ed83c2f337 100644 --- a/drivers/staging/media/atomisp/pci/atomisp_compat.h +++ b/drivers/staging/media/atomisp/pci/atomisp_compat.h @@ -29,6 +29,8 @@ struct atomisp_sub_device; struct video_device; enum atomisp_input_stream_id; +extern void __iomem *atomisp_io_base; + struct atomisp_metadata_buf { struct ia_css_metadata *metadata; void *md_vptr; |