| .. | .. |
|---|
| 21 | 21 | |
|---|
| 22 | 22 | void ptdump_walk_pgd(struct seq_file *s, struct ptdump_info *info); |
|---|
| 23 | 23 | #ifdef CONFIG_ARM_PTDUMP_DEBUGFS |
|---|
| 24 | | -int ptdump_debugfs_register(struct ptdump_info *info, const char *name); |
|---|
| 24 | +void ptdump_debugfs_register(struct ptdump_info *info, const char *name); |
|---|
| 25 | 25 | #else |
|---|
| 26 | | -static inline int ptdump_debugfs_register(struct ptdump_info *info, |
|---|
| 27 | | - const char *name) |
|---|
| 28 | | -{ |
|---|
| 29 | | - return 0; |
|---|
| 30 | | -} |
|---|
| 26 | +static inline void ptdump_debugfs_register(struct ptdump_info *info, |
|---|
| 27 | + const char *name) { } |
|---|
| 31 | 28 | #endif /* CONFIG_ARM_PTDUMP_DEBUGFS */ |
|---|
| 32 | 29 | |
|---|
| 33 | 30 | void ptdump_check_wx(void); |
|---|