Hi, I'm usually using the g_ether driver with my s3c2410_udc driver but this time I wanted to test something with the g_file_storage driver. Unfortunately, it doesn't build. The trivial fix is attached.
Regards, Arnaud Patard Signed-Off-By: Arnaud Patard <[EMAIL PROTECTED]> ---
diff --git a/drivers/usb/gadget/file_storage.c b/drivers/usb/gadget/file_storage.c --- a/drivers/usb/gadget/file_storage.c +++ b/drivers/usb/gadget/file_storage.c @@ -3747,7 +3747,7 @@ static int __init check_parameters(struc mod_data.release = 0x0310; else if (gadget_is_pxa27x(fsg->gadget)) mod_data.release = 0x0311; - else if (gadget_is_s3c2410(gadget)) + else if (gadget_is_s3c2410(fsg->gadget)) mod_data.release = 0x0312; else if (gadget_is_at91(fsg->gadget)) mod_data.release = 0x0313;
