On Mon, Mar 02, 2020 at 09:43:07AM +0200, Heikki Krogerus wrote: > > > > - cdns->role_sw = usb_role_switch_register(dev, &cdns3_switch_desc); > > > > + sw_desc.set = cdns3_role_set, > > > > + sw_desc.get = cdns3_role_get, > > > > + sw_desc.allow_userspace_control = true, > > > > Heikki, when I try to apply above, and compile, I find above issue, > > the end of code should be ";", but not ",". So it seems my compiler happily compiles the above :-) I don't know what is going on with my compiler, but I'll fix that. thanks, -- heikki