c6x: kernel: setup: Include "linux/console.h"
Or c6x will cause building break for allmodconfig, the related error: CC arch/c6x/kernel/setup.o arch/c6x/kernel/setup.c: In function 'setup_arch': arch/c6x/kernel/setup.c:433:2: error: 'conswitchp' undeclared (first use in this function) conswitchp = &dummy_con; ^ arch/c6x/kernel/setup.c:433:2: note: each undeclared identifier is reported only once for each function it appears in arch/c6x/kernel/setup.c:433:16: error: 'dummy_con' undeclared (first use in this function) conswitchp = &dummy_con; ^ Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com> [removed unnecessary #ifdef around include] Signed-off-by: Mark Salter <msalter@redhat.com>
This commit is contained in:
parent
c517d838eb
commit
3591276d16
|
@ -26,7 +26,7 @@
|
|||
#include <linux/cpu.h>
|
||||
#include <linux/fs.h>
|
||||
#include <linux/of.h>
|
||||
|
||||
#include <linux/console.h>
|
||||
|
||||
#include <asm/sections.h>
|
||||
#include <asm/div64.h>
|
||||
|
|
Loading…
Reference in New Issue