diff options
| -rw-r--r-- | include/linux/console.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/linux/console.h b/include/linux/console.h index 7201ce4280ca..dedb082fe50f 100644 --- a/include/linux/console.h +++ b/include/linux/console.h | |||
| @@ -83,8 +83,14 @@ void give_up_console(const struct consw *sw); | |||
| 83 | int con_debug_enter(struct vc_data *vc); | 83 | int con_debug_enter(struct vc_data *vc); |
| 84 | int con_debug_leave(void); | 84 | int con_debug_leave(void); |
| 85 | #else | 85 | #else |
| 86 | #define con_debug_enter(vc) (0) | 86 | static inline int con_debug_enter(struct vc_data *vc) |
| 87 | #define con_debug_leave() (0) | 87 | { |
| 88 | return 0; | ||
| 89 | } | ||
| 90 | static inline int con_debug_leave(void) | ||
| 91 | { | ||
| 92 | return 0; | ||
| 93 | } | ||
| 88 | #endif | 94 | #endif |
| 89 | 95 | ||
| 90 | /* scroll */ | 96 | /* scroll */ |
