Hello Marco, On 4/14/25 12:31, Marco Felsch wrote: > On 25-04-14, Ahmad Fatoum wrote: >> -static struct of_device_id storage_by_uuid_dt_ids[] = { >> +static int sba_probe(struct device *dev) >> +{ >> + int (*init)(struct sba *); > > This does the job but a proper driver_data struct would be the more > aligned to all other drivers.
IMO if we ever need more than one member in driver_data, it should probably be a separate driver and not a storage-by-alias. Cheers, Ahmad > > Regards, > Marco -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |