From 501895566bbce6ddcc425ae295586ae295b8de00 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 2 Sep 2005 20:29:22 +0000 Subject: 2005-09-02 Joel Sherrill PR 577/bsps * console.c: Make the previously committed patch for this PR compile. --- c/src/lib/libbsp/shared/ChangeLog | 5 +++++ c/src/lib/libbsp/shared/console.c | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'c/src/lib/libbsp/shared') diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog index b79628c8c1..676e4ae40f 100644 --- a/c/src/lib/libbsp/shared/ChangeLog +++ b/c/src/lib/libbsp/shared/ChangeLog @@ -1,3 +1,8 @@ +2005-09-02 Joel Sherrill + + PR 577/bsps + * console.c: Make the previously committed patch for this PR compile. + 2005-08-19 Cedric Aubert PR 577/bsps diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c index e294fc1714..c477aae4eb 100644 --- a/c/src/lib/libbsp/shared/console.c +++ b/c/src/lib/libbsp/shared/console.c @@ -127,6 +127,10 @@ rtems_device_driver console_close( ) { rtems_libio_open_close_args_t *args = arg; + struct rtems_termios_tty *current_tty; + + /* Get tty pointeur from the Console_Port_Data */ + current_tty = Console_Port_Data[minor].termios_data; /* Get the tty refcount to determine if we need to do deviceStopRemoteTx. * Stop only if it's the last one opened. -- cgit v1.2.3