Re: [PATCH v7 06/15] tty: New RISC-V SBI console driver

From: Andy Shevchenko
Date: Tue Aug 01 2017 - 09:37:33 EST


On Mon, 2017-07-31 at 18:00 -0700, Palmer Dabbelt wrote:
> The RISC-V ISA defines a simple console that is availiable via SBI
> calls
> on all systems.ÂÂThis patch adds a driver for this console interface
> that can act as both a target for early printk and as the system
> console.

> +#include <linux/console.h>

> +#include <linux/err.h>
> +#include <linux/init.h>
> +#include <linux/moduleparam.h>
> +#include <linux/types.h>


> +#include <linux/delay.h>

> +#include <linux/irq.h>

I'm not sure I understand why above two headers are included here.


--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy