|
@@ -333,7 +333,7 @@ void rio_copy_to_card(void *from, void __iomem *to, int len)
|
|
|
|
|
|
int rio_minor(struct tty_struct *tty)
|
|
int rio_minor(struct tty_struct *tty)
|
|
{
|
|
{
|
|
- return tty->index + (tty->driver == rio_driver) ? 0 : 256;
|
|
|
|
|
|
+ return tty->index + ((tty->driver == rio_driver) ? 0 : 256);
|
|
}
|
|
}
|
|
|
|
|
|
static int rio_set_real_termios(void *ptr)
|
|
static int rio_set_real_termios(void *ptr)
|