USB: option: fix port-data abuse
authorJohan Hovold <jhovold@gmail.com>
Tue, 29 May 2012 15:57:52 +0000 (17:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 23:09:50 +0000 (16:09 -0700)
commit4273f9878b0a8271df055e3c8f2e7f08c6a4a2f4
treef76d15c047835477134a31d80dc6135c9659f748
parent1aa3c63cf0a79153ee13c8f82e4eb6c40b66a161
USB: option: fix port-data abuse

Commit 8b4c6a3ab596961b78465 ("USB: option: Use generic USB wwan code")
moved option port-data allocation to usb_wwan_startup but still cast the
port data to the old struct...

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/option.c