lkml.org 
[lkml]   [2017]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v7 06/15] tty: New RISC-V SBI console driver
From
Date
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@linux.intel.com>
Intel Finland Oy

\
 
 \ /
  Last update: 2017-08-01 15:38    [W:0.152 / U:2.784 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site