*     Locking: read_lock
  */
 
-static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty)
+static ssize_t chars_in_buffer(struct tty_struct *tty)
 {
        struct n_tty_data *ldata = tty->disc_data;
        unsigned long flags;
        return n;
 }
 
+static ssize_t n_tty_chars_in_buffer(struct tty_struct *tty)
+{
+       return chars_in_buffer(tty);
+}
+
 /**
  *     is_utf8_continuation    -       utf8 multibyte check
  *     @c: byte to check
                }
 
                /* If there is enough space in the read buffer now, let the
-                * low-level driver know. We use n_tty_chars_in_buffer() to
+                * low-level driver know. We use chars_in_buffer() to
                 * check the buffer, as it now knows about canonical mode.
                 * Otherwise, if the driver is throttled and the line is
                 * longer than TTY_THRESHOLD_UNTHROTTLE in canonical mode,
                 */
                while (1) {
                        tty_set_flow_change(tty, TTY_UNTHROTTLE_SAFE);
-                       if (n_tty_chars_in_buffer(tty) > TTY_THRESHOLD_UNTHROTTLE)
+                       if (chars_in_buffer(tty) > TTY_THRESHOLD_UNTHROTTLE)
                                break;
                        if (!tty->count)
                                break;