summaryrefslogtreecommitdiffstats
path: root/drivers/char/rocket.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
committerRalf Baechle <ralf@linux-mips.org>1998-03-17 22:05:47 +0000
commit27cfca1ec98e91261b1a5355d10a8996464b63af (patch)
tree8e895a53e372fa682b4c0a585b9377d67ed70d0e /drivers/char/rocket.c
parent6a76fb7214c477ccf6582bd79c5b4ccc4f9c41b1 (diff)
Look Ma' what I found on my harddisk ...
o New faster syscalls for 2.1.x, too o Upgrade to 2.1.89. Don't try to run this. It's flaky as hell. But feel free to debug ...
Diffstat (limited to 'drivers/char/rocket.c')
-rw-r--r--drivers/char/rocket.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/char/rocket.c b/drivers/char/rocket.c
index 2a616142c..3b6f95f60 100644
--- a/drivers/char/rocket.c
+++ b/drivers/char/rocket.c
@@ -55,12 +55,10 @@
#include <linux/modversions.h>
#endif
#include <linux/module.h>
-#include <linux/config.h>
#else /* !NEW_MODULES */
#ifdef MODVERSIONS
#define MODULE
#endif
-#include <linux/config.h>
#include <linux/module.h>
#endif /* NEW_MODULES */
@@ -224,7 +222,7 @@ static struct semaphore tmp_buf_sem = MUTEX;
static void rp_start(struct tty_struct *tty);
static inline int rocket_paranoia_check(struct r_port *info,
- dev_t device, const char *routine)
+ kdev_t device, const char *routine)
{
#ifdef ROCKET_PARANOIA_CHECK
static const char *badmagic =
@@ -637,7 +635,10 @@ static void configure_r_port(struct r_port *info)
{
unsigned cflag;
unsigned long flags;
- int i, bits, baud;
+ int bits, baud;
+#if (LINUX_VERSION_CODE < 131393) /* Linux 2.1.65 */
+ int i;
+#endif
CHANNEL_t *cp;
if (!info->tty || !info->tty->termios)