RISC-V: use generic serial.h
authorOlof Johansson <olof@lixom.net>
Thu, 30 Nov 2017 01:55:12 +0000 (17:55 -0800)
committerPalmer Dabbelt <palmer@sifive.com>
Thu, 30 Nov 2017 18:01:10 +0000 (10:01 -0800)
Fixes this from allmodconfig:

drivers/tty/serial/earlycon.c:27:10: fatal error: asm/serial.h: No such file or directory

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
arch/riscv/include/asm/Kbuild

index 18158be..970460a 100644 (file)
@@ -40,6 +40,7 @@ generic-y += resource.h
 generic-y += scatterlist.h
 generic-y += sections.h
 generic-y += sembuf.h
+generic-y += serial.h
 generic-y += setup.h
 generic-y += shmbuf.h
 generic-y += shmparam.h