usb: musb: gadget: check the correct list_head
authorFelipe Balbi <balbi@ti.com>
Tue, 22 Mar 2011 09:38:49 +0000 (11:38 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 13 Apr 2011 08:51:26 +0000 (11:51 +0300)
commit3d5ad13eac320292f64071ea7ded1b661edd9430
treeefe5ed31ef76fad2a9cd9d23e85358171aec22f4
parent7a180e70cfc56e131bfe4796773df2acfc7d4180
usb: musb: gadget: check the correct list_head

We are now using our own list_head, so we should
be checking against that, not the gadget driver's
list_head.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_gadget.c