Luis Galdos wrote: > Hi all, > > I have some questions concerning to the file storage gadget (g_file_storage) and its > compilation as built-in driver: AFAIK, the driver initialization fails cause the file > system is not available when the driver tries to init the backing file (please correct me > if I'm wrong). Now, for solving this issue I have used a notifier-chain that informs about > the availability of the root file system (see below patch). This implementation works when > the driver is compiled as loadable module too. I think a better approach would be a sysfs file to set the backing file (instead of the module parameter). David -- David Vrabel, Senior Software Engineer, Drivers CSR, Churchill House, Cambridge Business Park, Tel: +44 (0)1223 692562 Cowley Road, Cambridge, CB4 0WZ http://www.csr.com/ 'member of the CSR plc group of companies. CSR plc registered in England and Wales, registered number 4187346, registered office Churchill House, Cambridge Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom' -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html