USB: fix mos7840 problem with minor numbers
authorTony Cook <tony-cook@bigpond.com>
Sat, 18 Apr 2009 13:12:18 +0000 (22:12 +0930)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Apr 2009 21:15:28 +0000 (14:15 -0700)
commit37768adf9a1d49aeac0db1ba3dc28b3274b7b789
treefd68c1ba85729b0f217d9c379a64dab10c58bdb8
parente9b8cffa923e8eb3fe70ea05d3fcfffc90a71a57
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