Skip to content
Snippets Groups Projects
Commit 7c4213f6 authored by Stephen Warren's avatar Stephen Warren Committed by Tom Rini
Browse files

block: pass block dev not num to read/write/erase()


This will allow the implementation to make use of data in the block_dev
structure beyond the base device number. This will be useful so that eMMC
block devices can encompass the HW partition ID rather than treating this
out-of-band. Equally, the existence of the priv field is crying out for
this patch to exist.

Signed-off-by: Stephen Warren's avatarStephen Warren <swarren@nvidia.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
parent adc421e4
No related branches found
No related tags found
No related merge requests found
Showing with 110 additions and 108 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment