From: Simon Glass Date: Thu, 24 Aug 2023 19:55:25 +0000 (-0600) Subject: part: amiga: Use desc instead of dev_desc X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=3557e8d223cc84425fd6aa6e35a18ca03dcc2ab9;p=u-boot.git part: amiga: Use desc instead of dev_desc The dev_ prefix is a hangover from the pre-driver model days. The device is now a different thing, with driver model. Update the amiga code to just use 'desc'. Signed-off-by: Simon Glass --- diff --git a/disk/part_amiga.c b/disk/part_amiga.c index 45d3a70486..65e30fea55 100644 --- a/disk/part_amiga.c +++ b/disk/part_amiga.c @@ -125,7 +125,7 @@ static void print_part_info(struct partition_block *p) * the ID AMIGA_ID_RDISK ('RDSK') and needs to have a valid * sum-to-zero checksum */ -struct rigid_disk_block *get_rdisk(struct blk_desc *dev_desc) +struct rigid_disk_block *get_rdisk(struct blk_desc *desc) { int i; int limit; @@ -139,7 +139,7 @@ struct rigid_disk_block *get_rdisk(struct blk_desc *dev_desc) for (i=0; i