All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] gratitious includes of asm/serial.h
@ 2005-09-09 16:02 viro
  2005-09-09 16:33 ` Russell King
  0 siblings, 1 reply; 2+ messages in thread
From: viro @ 2005-09-09 16:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, rmk+serial, paulkf

Removed gratitious includes of asm/serial.h in synklinkmp and ip2main.
Allows to remove the rest of "broken on sparc32" in drivers/char - this
stuff doesn't break the build anymore.  Since it got zero testing, it almost
certainly won't work there, though...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC13-git7-ppc44x-pm/drivers/char/Kconfig RC13-git7-serial/drivers/char/Kconfig
--- RC13-git7-ppc44x-pm/drivers/char/Kconfig	2005-09-07 13:55:10.000000000 -0400
+++ RC13-git7-serial/drivers/char/Kconfig	2005-09-07 13:55:31.000000000 -0400
@@ -80,7 +80,7 @@
 
 config COMPUTONE
 	tristate "Computone IntelliPort Plus serial support"
-	depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && (BROKEN || !SPARC32)
+	depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP
 	---help---
 	  This driver supports the entire family of Intelliport II/Plus
 	  controllers with the exception of the MicroChannel controllers and
@@ -208,7 +208,7 @@
 
 config SYNCLINKMP
 	tristate "SyncLink Multiport support"
-	depends on SERIAL_NONSTANDARD && (BROKEN || !SPARC32)
+	depends on SERIAL_NONSTANDARD
 	help
 	  Enable support for the SyncLink Multiport (2 or 4 ports)
 	  serial adapter, running asynchronous and HDLC communications up
diff -urN RC13-git7-ppc44x-pm/drivers/char/ip2main.c RC13-git7-serial/drivers/char/ip2main.c
--- RC13-git7-ppc44x-pm/drivers/char/ip2main.c	2005-08-28 23:09:41.000000000 -0400
+++ RC13-git7-serial/drivers/char/ip2main.c	2005-09-07 13:55:31.000000000 -0400
@@ -120,7 +120,6 @@
 
 #include <linux/vmalloc.h>
 #include <linux/init.h>
-#include <asm/serial.h>
 
 #include <asm/uaccess.h>
 
diff -urN RC13-git7-ppc44x-pm/drivers/char/synclinkmp.c RC13-git7-serial/drivers/char/synclinkmp.c
--- RC13-git7-ppc44x-pm/drivers/char/synclinkmp.c	2005-06-17 15:48:29.000000000 -0400
+++ RC13-git7-serial/drivers/char/synclinkmp.c	2005-09-07 13:55:31.000000000 -0400
@@ -55,7 +55,6 @@
 #include <linux/netdevice.h>
 #include <linux/vmalloc.h>
 #include <linux/init.h>
-#include <asm/serial.h>
 #include <linux/delay.h>
 #include <linux/ioctl.h>
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] gratitious includes of asm/serial.h
  2005-09-09 16:02 [PATCH] gratitious includes of asm/serial.h viro
@ 2005-09-09 16:33 ` Russell King
  0 siblings, 0 replies; 2+ messages in thread
From: Russell King @ 2005-09-09 16:33 UTC (permalink / raw)
  To: viro; +Cc: Linus Torvalds, linux-kernel, paulkf

On Fri, Sep 09, 2005 at 05:02:51PM +0100, viro@ZenIV.linux.org.uk wrote:
> Removed gratitious includes of asm/serial.h in synklinkmp and ip2main.
> Allows to remove the rest of "broken on sparc32" in drivers/char - this
> stuff doesn't break the build anymore.  Since it got zero testing, it almost
> certainly won't work there, though...
> 
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>

This stuff does need fixing.  One day, I hope to completely remove the
asm-*/serial.h includes from the kernel.

Thanks Al.

-- 
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-09 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-09 16:02 [PATCH] gratitious includes of asm/serial.h viro
2005-09-09 16:33 ` Russell King

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.