diff options
-rw-r--r-- | include/linux/ftrace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index b331e216d8a1..63281228ce3e 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -238,9 +238,11 @@ extern void ftrace_enable_daemon(void); | |||
238 | static inline void ftrace_release(void *start, unsigned long size) { } | 238 | static inline void ftrace_release(void *start, unsigned long size) { } |
239 | static inline int register_ftrace_command(struct ftrace_func_command *cmd) | 239 | static inline int register_ftrace_command(struct ftrace_func_command *cmd) |
240 | { | 240 | { |
241 | return -EINVAL; | ||
241 | } | 242 | } |
242 | static inline int unregister_ftrace_command(char *cmd_name) | 243 | static inline int unregister_ftrace_command(char *cmd_name) |
243 | { | 244 | { |
245 | return -EINVAL; | ||
244 | } | 246 | } |
245 | #endif /* CONFIG_DYNAMIC_FTRACE */ | 247 | #endif /* CONFIG_DYNAMIC_FTRACE */ |
246 | 248 | ||