]> git.baikalelectronics.ru Git - kernel.git/commit
USB: fix mos7840 problem with minor numbers
authorTony Cook <tony-cook@bigpond.com>
Sat, 18 Apr 2009 13:12:18 +0000 (22:42 +0930)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Apr 2009 21:15:28 +0000 (14:15 -0700)
commit9d12626658968768f3e4e4a75292d1f11b48db24
treefd68c1ba85729b0f217d9c379a64dab10c58bdb8
parent377bd55905d0bd84879a9298b819d813d8860356
USB: fix mos7840 problem with minor numbers

This patch fixes a problem with any mos7840 device where the use of the field "minor" before it is
initialised results in all the devices being overlaid in memory (minor = 0 for all instances)

Contributed by: Phillip Branch

Signed-off-by: Tony Cook <tony-cook@bigpond.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/mos7840.c