summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
Diffstat (limited to 'include/media')
-rw-r--r--include/media/s5p_fimc.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/media/s5p_fimc.h b/include/media/s5p_fimc.h
index 0d457cac8f7d..82496d38a96a 100644
--- a/include/media/s5p_fimc.h
+++ b/include/media/s5p_fimc.h
@@ -46,15 +46,14 @@ struct s5p_fimc_isp_info {
u16 flags;
};
-
-#define FIMC_MAX_CAMIF_CLIENTS 2
-
/**
* struct s5p_platform_fimc - camera host interface platform data
*
* @isp_info: properties of camera sensor required for host interface setup
+ * @num_clients: the number of attached image sensors
*/
struct s5p_platform_fimc {
- struct s5p_fimc_isp_info *isp_info[FIMC_MAX_CAMIF_CLIENTS];
+ struct s5p_fimc_isp_info *isp_info;
+ int num_clients;
};
#endif /* S5P_FIMC_H_ */