summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/rfcomm
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2005-06-21 06:15:16 +0200
committerGreg Kroah-Hartman2006-06-26 21:25:09 +0200
commit331b831983f9d706f4a40d08a996d5c2c7a6ea7b (patch)
tree9d47d5f8d6f882d26c8deade0e44442cebf2e288 /net/bluetooth/rfcomm
parent[PATCH] devfs: Remove the tty_driver devfs_name field as it's no longer needed (diff)
downloadkernel-qcow2-linux-331b831983f9d706f4a40d08a996d5c2c7a6ea7b.tar.gz
kernel-qcow2-linux-331b831983f9d706f4a40d08a996d5c2c7a6ea7b.tar.xz
kernel-qcow2-linux-331b831983f9d706f4a40d08a996d5c2c7a6ea7b.zip
[PATCH] devfs: Rename TTY_DRIVER_NO_DEVFS to TTY_DRIVER_DYNAMIC_DEV
I've always found this flag confusing. Now that devfs is no longer around, it has been renamed, and the documentation for when this flag should be used has been updated. Also fixes all drivers that use this flag. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'net/bluetooth/rfcomm')
-rw-r--r--net/bluetooth/rfcomm/tty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bluetooth/rfcomm/tty.c b/net/bluetooth/rfcomm/tty.c
index afb3c524db34..5fdc36678621 100644
--- a/net/bluetooth/rfcomm/tty.c
+++ b/net/bluetooth/rfcomm/tty.c
@@ -1030,7 +1030,7 @@ int rfcomm_init_ttys(void)
rfcomm_tty_driver->minor_start = RFCOMM_TTY_MINOR;
rfcomm_tty_driver->type = TTY_DRIVER_TYPE_SERIAL;
rfcomm_tty_driver->subtype = SERIAL_TYPE_NORMAL;
- rfcomm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_NO_DEVFS;
+ rfcomm_tty_driver->flags = TTY_DRIVER_REAL_RAW | TTY_DRIVER_DYNAMIC_DEV;
rfcomm_tty_driver->init_termios = tty_std_termios;
rfcomm_tty_driver->init_termios.c_cflag = B9600 | CS8 | CREAD | HUPCL | CLOCAL;
tty_set_operations(rfcomm_tty_driver, &rfcomm_ops);