Commit 2d6ed781 authored by Maksim Krasnyanskiy's avatar Maksim Krasnyanskiy

[Bluetooth] Initialize ->owner field of the RFCOMM tty driver.

In order to fix all MOD_INC/DECs in the RFCOMM code we need __module_get().
parent e823eaed
......@@ -856,6 +856,8 @@ static struct termios *rfcomm_tty_termios[RFCOMM_TTY_PORTS];
static struct termios *rfcomm_tty_termios_locked[RFCOMM_TTY_PORTS];
static struct tty_driver rfcomm_tty_driver = {
.owner = THIS_MODULE,
.magic = TTY_DRIVER_MAGIC,
.driver_name = "rfcomm",
#ifdef CONFIG_DEVFS_FS
......
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