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>
Fri, 22 Jun 2012 18:36:56 +0000 (11:36 -0700)
commita0ae72b68662f833a56c060fbd483609941e8284
tree66d8736c160d965616a798efa7ce5803eda0d76c
parentd2002eb8a3a9c6d9182e1652b3ec22f6dd20741b
USB: option: fix port-data abuse

commit 4273f9878b0a8271df055e3c8f2e7f08c6a4a2f4 upstream.

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...

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