Commit 5096ce89 authored by Maksim Krasnyanskiy's avatar Maksim Krasnyanskiy Committed by Maksim Krasnyanskiy

Fix designated initializers in RFCOMM TTY layer.

parent c5e6d236
...@@ -819,41 +819,41 @@ static struct termios *rfcomm_tty_termios[RFCOMM_TTY_PORTS]; ...@@ -819,41 +819,41 @@ static struct termios *rfcomm_tty_termios[RFCOMM_TTY_PORTS];
static struct termios *rfcomm_tty_termios_locked[RFCOMM_TTY_PORTS]; static struct termios *rfcomm_tty_termios_locked[RFCOMM_TTY_PORTS];
static struct tty_driver rfcomm_tty_driver = { static struct tty_driver rfcomm_tty_driver = {
magic: TTY_DRIVER_MAGIC, .magic = TTY_DRIVER_MAGIC,
driver_name: "rfcomm", .driver_name = "rfcomm",
#ifdef CONFIG_DEVFS_FS #ifdef CONFIG_DEVFS_FS
name: "bluetooth/rfcomm/%d", .name = "bluetooth/rfcomm/%d",
#else #else
name: "rfcomm%d", .name = "rfcomm%d",
#endif #endif
major: RFCOMM_TTY_MAJOR, .major = RFCOMM_TTY_MAJOR,
minor_start: RFCOMM_TTY_MINOR, .minor_start = RFCOMM_TTY_MINOR,
num: RFCOMM_TTY_PORTS, .num = RFCOMM_TTY_PORTS,
type: TTY_DRIVER_TYPE_SERIAL, .type = TTY_DRIVER_TYPE_SERIAL,
subtype: SERIAL_TYPE_NORMAL, .subtype = SERIAL_TYPE_NORMAL,
flags: TTY_DRIVER_REAL_RAW, .flags = TTY_DRIVER_REAL_RAW,
refcount: &rfcomm_tty_refcount, .refcount = &rfcomm_tty_refcount,
table: rfcomm_tty_table, .table = rfcomm_tty_table,
termios: rfcomm_tty_termios, .termios = rfcomm_tty_termios,
termios_locked: rfcomm_tty_termios_locked, .termios_locked = rfcomm_tty_termios_locked,
open: rfcomm_tty_open, .open = rfcomm_tty_open,
close: rfcomm_tty_close, .close = rfcomm_tty_close,
write: rfcomm_tty_write, .write = rfcomm_tty_write,
write_room: rfcomm_tty_write_room, .write_room = rfcomm_tty_write_room,
chars_in_buffer: rfcomm_tty_chars_in_buffer, .chars_in_buffer = rfcomm_tty_chars_in_buffer,
flush_buffer: rfcomm_tty_flush_buffer, .flush_buffer = rfcomm_tty_flush_buffer,
ioctl: rfcomm_tty_ioctl, .ioctl = rfcomm_tty_ioctl,
throttle: rfcomm_tty_throttle, .throttle = rfcomm_tty_throttle,
unthrottle: rfcomm_tty_unthrottle, .unthrottle = rfcomm_tty_unthrottle,
set_termios: rfcomm_tty_set_termios, .set_termios = rfcomm_tty_set_termios,
send_xchar: rfcomm_tty_send_xchar, .send_xchar = rfcomm_tty_send_xchar,
stop: NULL, .stop = NULL,
start: NULL, .start = NULL,
hangup: rfcomm_tty_hangup, .hangup = rfcomm_tty_hangup,
wait_until_sent: rfcomm_tty_wait_until_sent, .wait_until_sent = rfcomm_tty_wait_until_sent,
read_proc: rfcomm_tty_read_proc, .read_proc = rfcomm_tty_read_proc,
}; };
int rfcomm_init_ttys(void) int rfcomm_init_ttys(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment