[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190526071322.GA3830@hari-Inspiron-1545>
Date: Sun, 26 May 2019 12:43:22 +0530
From: Hariprasad Kelam <hariprasad.kelam@...il.com>
To: William Hubbs <w.d.hubbs@...il.com>,
Chris Brannon <chris@...-brannons.com>,
Kirk Reiser <kirk@...sers.ca>,
Samuel Thibault <samuel.thibault@...-lyon.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hariprasad Kelam <hariprasad.kelam@...il.com>,
speakup@...ux-speakup.org, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drivers: staging: speakup: serialio: fix warning
linux/serial.h is included more than once
fix below warning reported by includecheck
./drivers/staging/speakup/serialio.h: linux/serial.h is included more
than once.
Signed-off-by: Hariprasad Kelam <hariprasad.kelam@...il.com>
---
drivers/staging/speakup/serialio.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/speakup/serialio.h b/drivers/staging/speakup/serialio.h
index aa691e4..6f8f86f 100644
--- a/drivers/staging/speakup/serialio.h
+++ b/drivers/staging/speakup/serialio.h
@@ -4,9 +4,6 @@
#include <linux/serial.h> /* for rs_table, serial constants */
#include <linux/serial_reg.h> /* for more serial constants */
-#ifndef __sparc__
-#include <linux/serial.h>
-#endif
#include <linux/serial_core.h>
#include "spk_priv.h"
--
2.7.4
Powered by blists - more mailing lists