cbus-tahvo-usb: Fix tahvo_usb_device pointer
authorMichael Buesch <mb@bu3sch.de>
Wed, 9 Mar 2011 18:07:05 +0000 (18:07 +0000)
committerTony Lindgren <tony@atomide.com>
Fri, 11 Mar 2011 19:23:33 +0000 (11:23 -0800)
The static tahvo_usb_device is uninitialized, but used
in the otg interrupt handler. This results in a NULL pointer
dereference on interrupt.
Fix this by storing a struct tahvo_usb pointer instead of
a platform device.

Signed-off-by: Michael Buesch <mb@bu3sch.de>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found