]> git.baikalelectronics.ru Git - uboot.git/commit
disk: Rename block_dev to desc
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:53 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:02:44 +0000 (11:02 -0400)
commit35a3d2e278c55946734b68200082494d13933766
tree7abc730f6626a791380a400046962eab7c326ddc
parent5b416e27316bddfadc6bd6f2ac37edaef41629a1
disk: Rename block_dev to desc

The use of 'block_dev' in this context is confusing, since it is not a
pointer to a device, just to some information about it. Rename this to
'desc', as is more commonly used, since it is a block descriptor.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heinrich Schuchardt <xypron.glplk@gmx.de>
disk/disk-uclass.c