]> www.infradead.org Git - users/willy/linux.git/commitdiff
media: atomisp: get rid of system_types.h
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 29 May 2020 06:15:52 +0000 (08:15 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 11 Jun 2020 16:29:15 +0000 (18:29 +0200)
This is just a wrapper for system_local.h.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
28 files changed:
drivers/staging/media/atomisp/pci/base/refcount/interface/ia_css_refcount.h
drivers/staging/media/atomisp/pci/hive_isp_css_common/input_formatter_global.h
drivers/staging/media/atomisp/pci/hive_isp_css_common/irq_global.h
drivers/staging/media/atomisp/pci/hive_isp_css_common/isp_global.h
drivers/staging/media/atomisp/pci/hive_isp_css_common/sp_global.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/device_access/device_access.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/debug_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/dma_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/event_fifo_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/fifo_monitor_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gp_device_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gp_timer_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/gpio_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/input_formatter_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/irq_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isp_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/isys_dma_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/mmu_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/sp_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/host/timed_ctrl_public.h
drivers/staging/media/atomisp/pci/hive_isp_css_include/system_types.h [deleted file]
drivers/staging/media/atomisp/pci/ia_css_acc_types.h
drivers/staging/media/atomisp/pci/ia_css_device_access.c
drivers/staging/media/atomisp/pci/ia_css_device_access.h
drivers/staging/media/atomisp/pci/runtime/frame/interface/ia_css_frame_comm.h
drivers/staging/media/atomisp/pci/runtime/rmgr/interface/ia_css_rmgr_vbuf.h
drivers/staging/media/atomisp/pci/sh_css_firmware.h
drivers/staging/media/atomisp/pci/sh_css_struct.h

index 9d2b7f3b6c011fbefd8485d3cdf648d0867ad8b5..72ec09dde25698f36fbbd9e60ac67f55e28ecdc4 100644 (file)
@@ -16,7 +16,7 @@
 #define _IA_CSS_REFCOUNT_H_
 
 #include <type_support.h>
-#include <system_types.h>
+#include <system_local.h>
 #include <ia_css_err.h>
 #include <ia_css_types.h>
 
index 163521c53d4b47129f633b97911db0a89b4f978b..c0658972f9cbce66c66945cfbb4652edb261b004 100644 (file)
@@ -19,7 +19,7 @@
 #define IS_INPUT_SWITCH_VERSION2
 
 #include <type_support.h>
-#include <system_types.h>
+#include <system_local.h>
 #include "if_defs.h"
 #include "str2mem_defs.h"
 #include "input_switch_2400_defs.h"
index 64554d80dc0b6b31da59d4db9cc34654781d2ad3..883754def2d88a0cc2dcb81b38296651de065317 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __IRQ_GLOBAL_H_INCLUDED__
 #define __IRQ_GLOBAL_H_INCLUDED__
 
-#include <system_types.h>
+#include <system_local.h>
 
 #define IS_IRQ_VERSION_2
 #define IS_IRQ_MAP_VERSION_2
index 1a8547d5843582d4e4ed69e9671b52db7b5b7d31..ad25597c4f0363d46ebf53738ccd2064fc0720d9 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __ISP_GLOBAL_H_INCLUDED__
 #define __ISP_GLOBAL_H_INCLUDED__
 
-#include <system_types.h>
+#include <system_local.h>
 
 #if defined(HAS_ISP_2401_MAMOIADA)
 #define IS_ISP_2401_MAMOIADA
index 6ec4e590e3b4a9489599804f2bff0b7caf95af0f..252fe8c624ebc3db1fca9834f0f6f3cba2c40bb5 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __SP_GLOBAL_H_INCLUDED__
 #define __SP_GLOBAL_H_INCLUDED__
 
-#include <system_types.h>
+#include <system_local.h>
 
 #if defined(HAS_SP_2401)
 #define IS_SP_2401
index be031d41de7cb0692a7f737d655942c8ad36bd34..7168c3945772ba5f0d33972fefc7d32a5b467c91 100644 (file)
@@ -39,7 +39,7 @@ more details.
  * User provided file that defines the system address types:
  *     - hrt_address   a type that can hold the (sub)system address range
  */
-#include "system_types.h"
+#include "system_local.h"
 /*
  * We cannot assume that the global system address size is the size of
  * a pointer because a (say) 64-bit host can be simulated in a 32-bit
index aa386e4d414912a66360a7d3f9d5ca937cb4a886..8128e40dcc6709c1e0fcf20a6c667551b106a1a1 100644 (file)
@@ -17,7 +17,7 @@
 
 #include <type_support.h>
 #include <ia_css_types.h>
-#include "system_types.h"
+#include "system_local.h"
 
 /*! brief
  *
index 385b978b703b6afe6ef1f60d429fac9d078904f9..b32cfde16b5afef20b4f614bc1945cb95e54f90c 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __DMA_PUBLIC_H_INCLUDED__
 #define __DMA_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 
 typedef struct dma_state_s             dma_state_t;
 
index a84b74b3bc1e643f2edc34f21ac80d0dd9bcb9ab..f6a96401cc689015e1e6dcc65b7f77db87b3c422 100644 (file)
@@ -16,7 +16,7 @@
 #define __EVENT_FIFO_PUBLIC_H
 
 #include <type_support.h>
-#include "system_types.h"
+#include "system_local.h"
 
 /*! Blocking read from an event source EVENT[ID]
 
index e451d6f2a70d49e300bb79865209ef23c31ed7ae..9f01194184a7ed0712251ef3ef99e367f315aef6 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __FIFO_MONITOR_PUBLIC_H_INCLUDED__
 #define __FIFO_MONITOR_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 
 typedef struct fifo_channel_state_s            fifo_channel_state_t;
 typedef struct fifo_switch_state_s             fifo_switch_state_t;
index 7cc0799d49ed6355f0a8b6cefe6938151d2dc31c..5ec5d56457a75b572772fe6df43eab729bf1cd14 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __GP_DEVICE_PUBLIC_H_INCLUDED__
 #define __GP_DEVICE_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 
 typedef struct gp_device_state_s               gp_device_state_t;
 
index 2ddb8c40a5b25dcedd18cd2f75650501789ec342..0800280b7393b52121fdb9a0148910679ae00350 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __GP_TIMER_PUBLIC_H_INCLUDED__
 #define __GP_TIMER_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 
 /*! initialize mentioned timer
 param ID               timer_id
index d21aab3a179d850e145c0fff9d9ab23798ec7de1..bd1350b8f9ee5f42252717fc9aaa56529a9f841e 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __GPIO_PUBLIC_H_INCLUDED__
 #define __GPIO_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 
 /*! Write to a control register of GPIO[ID]
 
index e5758cb8beddbc5b1e30e0b3cdf32537f132a2ca..0a9e450af7650b3d7c0ce06ecdb431fb012663a4 100644 (file)
@@ -16,7 +16,7 @@
 #define __INPUT_FORMATTER_PUBLIC_H_INCLUDED__
 
 #include <type_support.h>
-#include "system_types.h"
+#include "system_local.h"
 
 /*! Reset INPUT_FORMATTER[ID]
 
index dfe2aa9ff2572cc9023aec685c6b9c066f3f2ad6..cb210166b3b948e0e471265ecfd12306441a7ee4 100644 (file)
@@ -16,7 +16,7 @@
 #define __IRQ_PUBLIC_H_INCLUDED__
 
 #include <type_support.h>
-#include "system_types.h"
+#include "system_local.h"
 
 /*! Read the control registers of IRQ[ID]
 
index 0da2937b900e58d8a6264783efdf5660f0755b20..09e209ed1847fcc7a016307af42757b526eadb4b 100644 (file)
@@ -16,7 +16,7 @@
 #define __ISP_PUBLIC_H_INCLUDED__
 
 #include <type_support.h>
-#include "system_types.h"
+#include "system_local.h"
 
 /*! Enable or disable the program complete irq signal of ISP[ID]
 
index 734634aedadf16fea3e78720219aed4a35a3e309..96670c740a783f1154b81e6be6b8bd69339fd64f 100644 (file)
@@ -17,7 +17,7 @@
 
 #ifdef USE_INPUT_SYSTEM_VERSION_2401
 
-#include "system_types.h"
+#include "system_local.h"
 #include "type_support.h"
 
 STORAGE_CLASS_ISYS2401_DMA_H void isys2401_dma_reg_store(
index 278f9cd85a004784f8c4ad2a0e199304a2807adc..7cdb270529f7edf36a1ee57d4b160ac99e9e4978 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __MMU_PUBLIC_H_INCLUDED__
 #define __MMU_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 #include "device_access.h"
 #include "assert_support.h"
 
index b8db5469b592dd54e048ddbca10feee463c8144f..b309890f5a76947a4ed3d760633ce7da9b05b2e1 100644 (file)
@@ -16,7 +16,7 @@
 #define __SP_PUBLIC_H_INCLUDED__
 
 #include <type_support.h>
-#include "system_types.h"
+#include "system_local.h"
 
 typedef struct sp_state_s              sp_state_t;
 typedef struct sp_stall_s              sp_stall_t;
index 5f9277adb2ab9cbb6f051f3ac31721193a7ce159..e59a1f8526af16cad494e1aa4bb49f8a658ff777 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef __TIMED_CTRL_PUBLIC_H_INCLUDED__
 #define __TIMED_CTRL_PUBLIC_H_INCLUDED__
 
-#include "system_types.h"
+#include "system_local.h"
 
 /*! Write to a control register of TIMED_CTRL[ID]
 
diff --git a/drivers/staging/media/atomisp/pci/hive_isp_css_include/system_types.h b/drivers/staging/media/atomisp/pci/hive_isp_css_include/system_types.h
deleted file mode 100644 (file)
index 764fda8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Support for Intel Camera Imaging ISP subsystem.
- * Copyright (c) 2015, Intel Corporation.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms and conditions of the GNU General Public License,
- * version 2, as published by the Free Software Foundation.
- *
- * This program is distributed in the hope it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- */
-#ifndef __SYSTEM_TYPES_H_INCLUDED__
-#define __SYSTEM_TYPES_H_INCLUDED__
-
-/**
-* @file
-* Platform specific types.
-*/
-
-#include "system_local.h"
-
-#endif /* __SYSTEM_TYPES_H_INCLUDED__ */
index d281846eeba563eaee150537544d94ae608f2ec9..55b4dc9bb5ea563cca0d9b76730f04f6e141855a 100644 (file)
@@ -19,7 +19,7 @@
  * This file contains types used for acceleration
  */
 
-#include <system_types.h>      /* HAS_IRQ_MAP_VERSION_# */
+#include <system_local.h>      /* HAS_IRQ_MAP_VERSION_# */
 #include <type_support.h>
 #include <platform_support.h>
 #include <debug_global.h>
index 6ad8687cf08b29577bada7af2af7fab0ae512158..fe7556b59aef973e9112ea54bcd5229459f68636 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "ia_css_device_access.h"
 #include <type_support.h>   /* for uint*, size_t */
-#include <system_types.h>   /* for hrt_address */
+#include <system_local.h>   /* for hrt_address */
 #include <ia_css_env.h>     /* for ia_css_hw_access_env */
 #include <assert_support.h> /* for assert */
 
index b2bf7d540b62172812be9bd8301b42dcd24a53c8..9445c3141db556107e7b8d236ad400ba3c9e705f 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 #include <type_support.h> /* for uint*, size_t */
-#include <system_types.h> /* for hrt_address */
+#include <system_local.h> /* for hrt_address */
 #include <ia_css_env.h>   /* for ia_css_hw_access_env */
 
 void
index 138aaaf07854ec2afa37b6cd6cc5afb9327ae904..0a98d363e2bf3884daa1e82be389e6849ecf8463 100644 (file)
@@ -18,7 +18,7 @@
 #include "type_support.h"
 #include "platform_support.h"
 #include "runtime/bufq/interface/ia_css_bufq_comm.h"
-#include <system_types.h>       /* ia_css_ptr */
+#include <system_local.h>       /* ia_css_ptr */
 
 /*
  * These structs are derived from structs defined in ia_css_types.h
index be5d42bb35456b02b9e8eabf7bb3827776d1460c..b3cf42c671874831577dd3803939a529e1eb287a 100644 (file)
@@ -18,7 +18,7 @@
 #include "ia_css_rmgr.h"
 #include <type_support.h>
 #include <ia_css_types.h>
-#include <system_types.h>
+#include <system_local.h>
 
 /**
  * @brief Data structure for the resource handle (host, vbuf)
index 68f389dcf3fc6a72b6071b9e1e2f466ec04639da..22a58ab9cad7dc39147c52f2b0e63eede541b0f7 100644 (file)
@@ -15,7 +15,7 @@
 #ifndef _SH_CSS_FIRMWARE_H_
 #define _SH_CSS_FIRMWARE_H_
 
-#include <system_types.h>
+#include <system_local.h>
 
 #include <ia_css_err.h>
 #include <ia_css_acc_types.h>
index d4ea847d29ce703eae988395f6c1f8d8fc5428b5..fd87c2c5c92c4e7da7e67e0bcd25a21ac616778a 100644 (file)
@@ -24,7 +24,7 @@
 */
 
 #include <type_support.h>
-#include <system_types.h>
+#include <system_local.h>
 #include "ia_css_pipeline.h"
 #include "ia_css_pipe_public.h"
 #include "ia_css_frame_public.h"