.. | .. |
---|
1 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
---|
2 | | -/* Copyright (C) 2012-2018 ARM Limited or its affiliates. */ |
---|
| 2 | +/* Copyright (C) 2012-2019 ARM Limited (or its affiliates). */ |
---|
3 | 3 | |
---|
4 | 4 | #ifndef __CC_DEBUGFS_H__ |
---|
5 | 5 | #define __CC_DEBUGFS_H__ |
---|
6 | 6 | |
---|
7 | 7 | #ifdef CONFIG_DEBUG_FS |
---|
8 | | -int cc_debugfs_global_init(void); |
---|
| 8 | +void cc_debugfs_global_init(void); |
---|
9 | 9 | void cc_debugfs_global_fini(void); |
---|
10 | 10 | |
---|
11 | 11 | int cc_debugfs_init(struct cc_drvdata *drvdata); |
---|
.. | .. |
---|
13 | 13 | |
---|
14 | 14 | #else |
---|
15 | 15 | |
---|
16 | | -static inline int cc_debugfs_global_init(void) |
---|
17 | | -{ |
---|
18 | | - return 0; |
---|
19 | | -} |
---|
20 | | - |
---|
| 16 | +static inline void cc_debugfs_global_init(void) {} |
---|
21 | 17 | static inline void cc_debugfs_global_fini(void) {} |
---|
22 | 18 | |
---|
23 | 19 | static inline int cc_debugfs_init(struct cc_drvdata *drvdata) |
---|