xref: /linux/drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-debugfs.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * c8sectpfe-debugfs.h - C8SECTPFE STi DVB driver debugfs header
4  *
5  * Copyright (c) STMicroelectronics 2015
6  *
7  * Authors: Peter Griffin <peter.griffin@linaro.org>
8  */
9 
10 #ifndef __C8SECTPFE_DEBUG_H
11 #define __C8SECTPFE_DEBUG_H
12 
13 #include "c8sectpfe-core.h"
14 
15 #if defined(CONFIG_DEBUG_FS)
16 void c8sectpfe_debugfs_init(struct c8sectpfei *);
17 void c8sectpfe_debugfs_exit(struct c8sectpfei *);
18 #else
c8sectpfe_debugfs_init(struct c8sectpfei * fei)19 static inline void c8sectpfe_debugfs_init(struct c8sectpfei *fei) {};
c8sectpfe_debugfs_exit(struct c8sectpfei * fei)20 static inline void c8sectpfe_debugfs_exit(struct c8sectpfei *fei) {};
21 #endif
22 
23 #endif /* __C8SECTPFE_DEBUG_H */
24