Skip to content

Commit f91f4d9

Browse files
viro@ZenIV.linux.org.ukLinus Torvalds
authored andcommitted
[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>
1 parent d310a35 commit f91f4d9

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎drivers/char/Kconfig‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ config SERIAL_NONSTANDARD
8080

8181
config COMPUTONE
8282
tristate "Computone IntelliPort Plus serial support"
83-
depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && (BROKEN || !SPARC32)
83+
depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP
8484
---help---
8585
This driver supports the entire family of Intelliport II/Plus
8686
controllers with the exception of the MicroChannel controllers and
@@ -208,7 +208,7 @@ config SYNCLINK
208208

209209
config SYNCLINKMP
210210
tristate "SyncLink Multiport support"
211-
depends on SERIAL_NONSTANDARD && (BROKEN || !SPARC32)
211+
depends on SERIAL_NONSTANDARD
212212
help
213213
Enable support for the SyncLink Multiport (2 or 4 ports)
214214
serial adapter, running asynchronous and HDLC communications up

‎drivers/char/ip2main.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@
120120

121121
#include <linux/vmalloc.h>
122122
#include <linux/init.h>
123-
#include <asm/serial.h>
124123

125124
#include <asm/uaccess.h>
126125

‎drivers/char/synclinkmp.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
#include <linux/netdevice.h>
5656
#include <linux/vmalloc.h>
5757
#include <linux/init.h>
58-
#include <asm/serial.h>
5958
#include <linux/delay.h>
6059
#include <linux/ioctl.h>
6160

0 commit comments

Comments
 (0)