diff options
author | Mauro Carvalho Chehab | 2018-04-16 18:37:04 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2018-05-16 16:27:40 +0200 |
commit | 313c5197c584cb9d17b46e9b8577459e58cdca49 (patch) | |
tree | 12f8aea356f07b706a449fa4e6cd466b3a78cfb4 /drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host | |
parent | media: atomisp: fix misleading addr information (diff) | |
download | kernel-qcow2-linux-313c5197c584cb9d17b46e9b8577459e58cdca49.tar.gz kernel-qcow2-linux-313c5197c584cb9d17b46e9b8577459e58cdca49.tar.xz kernel-qcow2-linux-313c5197c584cb9d17b46e9b8577459e58cdca49.zip |
media: staging: atomisp: get rid of __KERNEL macros
There's no sense for a Kernel driver to have __KERNEL macros
on it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/system_local.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/system_local.h b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/system_local.h index c16670989702..5600b32e29f4 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/system_local.h +++ b/drivers/staging/media/atomisp/pci/atomisp2/css2400/css_2401_csi2p_system/host/system_local.h @@ -31,23 +31,8 @@ #define HRT_ADDRESS_WIDTH 64 /* Surprise, this is a local property */ #endif -#if !defined(__KERNEL__) || (1 == 1) /* This interface is deprecated */ #include "hrt/hive_types.h" -#else /* __KERNEL__ */ -#include <type_support.h> - -#if HRT_ADDRESS_WIDTH == 64 -typedef uint64_t hrt_address; -#elif HRT_ADDRESS_WIDTH == 32 -typedef uint32_t hrt_address; -#else -#error "system_local.h: HRT_ADDRESS_WIDTH must be one of {32,64}" -#endif - -typedef uint32_t hrt_vaddress; -typedef uint32_t hrt_data; -#endif /* __KERNEL__ */ /* * Cell specific address maps |