[PATCH] riscom8: Coding style

Previous thread: [PATCH] isicom: Fix buffer allocation by Alan Cox on Tuesday, April 29, 2008 - 6:17 am. (3 messages)

Next thread: [PATCH] toshiba: Use ioremap_cached by Alan Cox on Tuesday, April 29, 2008 - 6:20 am. (5 messages)
From: Alan Cox
Date: Tuesday, April 29, 2008 - 6:18 am

Signed-off-by: Alan Cox <alan@redhat.com>

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.25-mm1/drivers/char/riscom8.c linux-2.6.25-mm1/drivers/char/riscom8.c
--- linux.vanilla-2.6.25-mm1/drivers/char/riscom8.c	2008-04-28 11:36:48.000000000 +0100
+++ linux-2.6.25-mm1/drivers/char/riscom8.c	2008-04-14 10:55:16.000000000 +0100
@@ -4,9 +4,9 @@
  *      Copyright (C) 1994-1996  Dmitry Gorodchanin (pgmdsg@ibi.com)
  *
  *      This code is loosely based on the Linux serial driver, written by
- *      Linus Torvalds, Theodore T'so and others. The RISCom/8 card 
- *      programming info was obtained from various drivers for other OSes 
- *	(FreeBSD, ISC, etc), but no source code from those drivers were 
+ *      Linus Torvalds, Theodore T'so and others. The RISCom/8 card
+ *      programming info was obtained from various drivers for other OSes
+ *	(FreeBSD, ISC, etc), but no source code from those drivers were
  *	directly included in this driver.
  *
  *
@@ -33,7 +33,7 @@
 
 #include <linux/module.h>
 
-#include <asm/io.h>
+#include <linux/io.h>
 #include <linux/kernel.h>
 #include <linux/sched.h>
 #include <linux/ioport.h>
@@ -49,7 +49,7 @@
 #include <linux/tty_flip.h>
 #include <linux/spinlock.h>
 
-#include <asm/uaccess.h>
+#include <linux/uaccess.h>
 
 #include "riscom8.h"
 #include "riscom8_reg.h"
@@ -57,15 +57,15 @@
 /* Am I paranoid or not ? ;-) */
 #define RISCOM_PARANOIA_CHECK
 
-/* 
- * Crazy InteliCom/8 boards sometimes has swapped CTS & DSR signals.
+/*
+ * Crazy InteliCom/8 boards sometimes have swapped CTS & DSR signals.
  * You can slightly speed up things by #undefing the following option,
- * if you are REALLY sure that your board is correct one. 
+ * if you are REALLY sure that your board is correct one.
  */
 
 #define RISCOM_BRAIN_DAMAGED_CTS
 
-/* 
+/*
  * The following defines are mostly for testing purposes. But if you need
  * some nice reporting in your syslog, you can define them also.
  */
@@ ...
Previous thread: [PATCH] isicom: Fix buffer allocation by Alan Cox on Tuesday, April 29, 2008 - 6:17 am. (3 messages)

Next thread: [PATCH] toshiba: Use ioremap_cached by Alan Cox on Tuesday, April 29, 2008 - 6:20 am. (5 messages)