]> git.baikalelectronics.ru Git - kernel.git/commit
Fix uart_set_ldisc() function type
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2008 17:35:03 +0000 (10:35 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2008 17:35:03 +0000 (10:35 -0700)
commit49f5ff300e8289663458905162c935343c4a98e3
treeb003877aa4decad969b29daf03d4b6984530f18b
parente020e4245129207a817b98c17dea594c72a91a49
Fix uart_set_ldisc() function type

Commit 921c513773bc51ad15e871f0ada1c41648d9cceb ("serial_core:
uart_set_ldisc infrastructure") introduced the ability for low-level
serial drivers to be informed when the tty ldisc changes.

However, the actual tty-layer function that does this callback for
serial devices was declared with the wrong type, having a spurious and
unused 'ldisc' argument.

This fixed the resulting compiler warning by just removing it.

Acked-by: Blithering Idiot <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/serial_core.c