• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2020 Rockchip Electronics Co., Ltd. */
3 
4 #ifndef _RKCIF_PROCFS_H
5 #define _RKCIF_PROCFS_H
6 
7 #ifdef CONFIG_PROC_FS
8 
9 int rkcif_proc_init(struct rkcif_device *dev);
10 void rkcif_proc_cleanup(struct rkcif_device *dev);
11 
12 #else
13 
rkcif_proc_init(struct rkisp_device * dev)14 static inline int rkcif_proc_init(struct rkisp_device *dev)
15 {
16 	return 0;
17 }
rkcif_proc_cleanup(struct rkisp_device * dev)18 static inline void rkcif_proc_cleanup(struct rkisp_device *dev)
19 {
20 
21 }
22 
23 #endif
24 
25 #endif
26