aboutsummaryrefslogtreecommitdiff
path: root/fs/partitions/acorn.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2009-09-01 11:39:13 -0400
committerLive-CD User <linux@linux.site>2009-09-19 13:13:40 -0700
commitcc56cd0157753c04a987888a2f793803df661a40 (patch)
tree78397afa3711722fd859181a1228a14613e3bc8b /fs/partitions/acorn.h
parent8bc2c1b2daf95029658868cb1427baea2da87139 (diff)
usb-serial: acquire references when a new tty is installed
This patch (as1287) makes serial_install() be reponsible for acquiring references to the usb_serial structure and the driver module when a tty is first used. This is more sensible than having serial_open() do it, because a tty can be opened many times whereas it is installed only once, when it is created. (Not to mention that these actions are reversed when the tty is released, not when it is closed.) Finally, it is at install time that the TTY core takes its own reference to the usb_serial module, so it is only fitting that we should act the same way in regard to the lower-level serial driver. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/partitions/acorn.h')
0 files changed, 0 insertions, 0 deletions