[MMC] Ensure correct mmc_priv() behaviour
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 8 Sep 2005 21:46:00 +0000 (22:46 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 8 Sep 2005 21:46:00 +0000 (22:46 +0100)
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: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found