Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 01357dca authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[MMC] Ensure correct mmc_priv() behaviour



mmc_priv() has some nasty effects if the wrong pointer type is
passed to it.  Introduce type checking, which also means we get
the right type.  Also add an additional member to mmc_host which
is used to align host-private data appropriately.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 8dc00335
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