[PATCH 2/6] ufs: core: Fold ufs-uclass into ufs
    Marek Vasut 
    marek.vasut at mailbox.org
       
    Tue Oct 28 15:25:37 CET 2025
    
    
  
On 10/28/25 9:14 AM, Neil Armstrong wrote:
Hello Neil,
>> +UCLASS_DRIVER(ufs) = {
>> +    .id            = UCLASS_UFS,
>> +    .name            = "ufs",
>> +    .per_device_auto    = sizeof(struct ufs_hba),
>> +};
> 
> This breaks the implicit rule to have a <uclass>-uclass.c file, but I'm 
> fine with that
I tried to move the ufs.c to ufs-uclass.c in V2 , but the resulting diff 
was unreadable. I therefore kept this patch and added a follow up patch 
into V2, which moves back ufs.c to ufs-uclass.c , that is readable 
again. Those two patches are 2/7 and 3/7 in V2. I hope this helps.
    
    
More information about the U-Boot
mailing list