[PATCH] staging: speakup: replace asm/serial.h with linux/serial.h

Roxana Blaj roxanagabriela10 at gmail.com
Sat Sep 20 13:58:52 EEST 2014


This fixes the warning:
WARNING: Use #include <linux/serial.h> instead of <asm/serial.h>

Signed-off-by: Roxana Blaj <roxanagabriela10 at gmail.com>
---
 drivers/staging/speakup/serialio.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/serialio.h b/drivers/staging/speakup/serialio.h
index 0a93773..317bb84 100644
--- a/drivers/staging/speakup/serialio.h
+++ b/drivers/staging/speakup/serialio.h
@@ -4,7 +4,7 @@
 #include <linux/serial.h>	/* for rs_table, serial constants */
 #include <linux/serial_reg.h>	/* for more serial constants */
 #ifndef __sparc__
-#include <asm/serial.h>
+#include <linux/serial.h>
 #endif
 
 /*
-- 
1.9.1



More information about the firefly mailing list