Browse Source

[PATCH] gratuitous includes of asm/serial.h

Removed gratuitous 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>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
viro@ZenIV.linux.org.uk 19 years ago
parent
commit
f91f4d923f
3 changed files with 2 additions and 4 deletions
  1. 2 2
      drivers/char/Kconfig
  2. 0 1
      drivers/char/ip2main.c
  3. 0 1
      drivers/char/synclinkmp.c

+ 2 - 2
drivers/char/Kconfig

@@ -80,7 +80,7 @@ config SERIAL_NONSTANDARD
 
 
 config COMPUTONE
 config COMPUTONE
 	tristate "Computone IntelliPort Plus serial support"
 	tristate "Computone IntelliPort Plus serial support"
-	depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && (BROKEN || !SPARC32)
+	depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP
 	---help---
 	---help---
 	  This driver supports the entire family of Intelliport II/Plus
 	  This driver supports the entire family of Intelliport II/Plus
 	  controllers with the exception of the MicroChannel controllers and
 	  controllers with the exception of the MicroChannel controllers and
@@ -208,7 +208,7 @@ config SYNCLINK
 
 
 config SYNCLINKMP
 config SYNCLINKMP
 	tristate "SyncLink Multiport support"
 	tristate "SyncLink Multiport support"
-	depends on SERIAL_NONSTANDARD && (BROKEN || !SPARC32)
+	depends on SERIAL_NONSTANDARD
 	help
 	help
 	  Enable support for the SyncLink Multiport (2 or 4 ports)
 	  Enable support for the SyncLink Multiport (2 or 4 ports)
 	  serial adapter, running asynchronous and HDLC communications up
 	  serial adapter, running asynchronous and HDLC communications up

+ 0 - 1
drivers/char/ip2main.c

@@ -120,7 +120,6 @@
 
 
 #include <linux/vmalloc.h>
 #include <linux/vmalloc.h>
 #include <linux/init.h>
 #include <linux/init.h>
-#include <asm/serial.h>
 
 
 #include <asm/uaccess.h>
 #include <asm/uaccess.h>
 
 

+ 0 - 1
drivers/char/synclinkmp.c

@@ -55,7 +55,6 @@
 #include <linux/netdevice.h>
 #include <linux/netdevice.h>
 #include <linux/vmalloc.h>
 #include <linux/vmalloc.h>
 #include <linux/init.h>
 #include <linux/init.h>
-#include <asm/serial.h>
 #include <linux/delay.h>
 #include <linux/delay.h>
 #include <linux/ioctl.h>
 #include <linux/ioctl.h>