Skip to contentSkip to conversation

2.4.23-pre1 - Missing include in kernel/panic.c

PATCH New Stephane Ouellette 1 participant 1 message Aug 30, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 2.4.23-pre1 - Missing include in kernel/panic.c

Marcelo,

the following patch removes a compile warning because
disable_console_blank() is used without a prototype.

Stephane Ouellette

kernel/panic.c +1 -0
@@ -16,6 +16,7 @@
 #include <linux/init.h>
 #include <linux/sysrq.h>
 #include <linux/interrupt.h>
+#include <linux/console.h>
 
 asmlinkage void sys_sync(void);	/* it's really int */