diff --git a/drivers/usb/gadget/composite.c b/drivers/usb/gadget/composite.c index e307c738fd7e94974a981807706f2d0e7828bfc6..5106cc56cb6f59b76835fee903fd0cc32109e14a 100644 --- a/drivers/usb/gadget/composite.c +++ b/drivers/usb/gadget/composite.c @@ -378,7 +378,7 @@ static int set_config(struct usb_composite_dev *cdev, ep = (struct usb_endpoint_descriptor *)*descriptors; addr = ((ep->bEndpointAddress & 0x80) >> 3) | (ep->bEndpointAddress & 0x0f); - __set_bit(addr, f->endpoints); + generic_set_bit(addr, f->endpoints); } result = f->set_alt(f, tmp, 0);