Skip to content
Commit d7d57436 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

ide: Use a single local blk_desc for ide_ident()



We only use one member of the ide_dev_desc[] array at a time and it does
not stick around outside ide_probe(). Use a single element instead.

Copy over the missing members of blk_desc at the same, since this was
missing from the previous code.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Fixes: 68e6f221 ("block: ide: Fix block read/write with driver model")
parent 96083118
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment