aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/tty_driver.h
diff options
context:
space:
mode:
authorRichard Watts <rrw@kynesim.co.uk>2015-05-19 16:06:53 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-08-03 15:24:43 -0700
commita3a10ce3429e5dee623ad5c8407ea58e204fcb0a (patch)
treee1a986e9e5e4c1c313f658eb70e599256c6d20c6 /include/linux/tty_driver.h
parentRevert "tty: serial: imx.c: Reset UART before activating interrupts" (diff)
downloadlinux-dev-a3a10ce3429e5dee623ad5c8407ea58e204fcb0a.tar.xz
linux-dev-a3a10ce3429e5dee623ad5c8407ea58e204fcb0a.zip
Avoid usb reset crashes by making tty_io cdevs truly dynamic
Avoid usb reset crashes by making tty_io cdevs truly dynamic Signed-off-by: Richard Watts <rrw@kynesim.co.uk> Reported-by: Duncan Mackintosh <DMackintosh@cbnl.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty_driver.h')
-rw-r--r--include/linux/tty_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index 92e337c18839..161052477f77 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -296,7 +296,7 @@ struct tty_operations {
struct tty_driver {
int magic; /* magic number for this structure */
struct kref kref; /* Reference management */
- struct cdev *cdevs;
+ struct cdev **cdevs;
struct module *owner;
const char *driver_name;
const char *name;