]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] Disable rio on 64-bit platforms
authorAlexey Dobriyan <adobriyan@gmail.com>
Tue, 10 Jan 2006 04:51:39 +0000 (20:51 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Jan 2006 16:01:26 +0000 (08:01 -0800)
Do it via Kconfig rather than via #error.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/Kconfig
drivers/char/rio/rio_linux.c

index 77286eb5826d3ba6fda360b973c4ebd11af3d9ce..977a74e16efb20783c3bd468d1910fb4163f673e 100644 (file)
@@ -290,7 +290,7 @@ config SX
 
 config RIO
        tristate "Specialix RIO system support"
-       depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP
+       depends on SERIAL_NONSTANDARD && BROKEN_ON_SMP && !64BIT
        help
          This is a driver for the Specialix RIO, a smart serial card which
          drives an outboard box that can support up to 128 ports.  Product
index d7d484024e2bf224b6fd3243f85b59bdc299df3b..2611b15b6bd1529e2f5bc8bb7f62fc06456fe86f 100644 (file)
 #include <linux/generic_serial.h>
 #include <asm/uaccess.h>
 
-#if BITS_PER_LONG != 32
-#  error FIXME: this driver only works on 32-bit platforms
-#endif
-
 #include "linux_compat.h"
 #include "typdef.h"
 #include "pkt.h"