pty_unthrottle using i2c_tuner_init()???

Tigran Aivazian (tigran@veritas.com)
Wed, 7 Jun 2000 12:54:23 +0100 (BST)


Hi guys,

Maybe the ld linker has gone mad or I have gone blind but looking at
drivers/char/pty.c:pty_unthrottle() I only see this:

static void pty_unthrottle(struct tty_struct * tty)
{
struct tty_struct *o_tty = tty->link;

if (!o_tty)
return;

if ((o_tty->flags & (1 << TTY_DO_WRITE_WAKEUP)) &&
o_tty->ldisc.write_wakeup)
(o_tty->ldisc.write_wakeup)(o_tty);
wake_up_interruptible(&o_tty->write_wait);
set_bit(TTY_THROTTLED, &tty->flags);
}

and still get:

drivers/char/char.o: In function `pty_unthrottle':
/usr/src/linux/drivers/char/pty.c:120: undefined reference to
`i2c_tuner_init'
make: *** [vmlinux] Error 1

there isn't even a macro there that could hide the call to
i2c_tuner_init() so something is wrong. I think it was the same story
yesterday (ac9) which I cured by compiling bttv/i2c as modules.

So, the conclusion is - are i2c/bttv officially broken when compiled
static into the kernel (i.e. does someone know about this fact?)

Regards.
Tigran

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/