summaryrefslogtreecommitdiffstats
path: root/kernel/sys_ni.c
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2005-09-08 22:46:00 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2005-09-08 22:46:00 +0100
commit01357dcac62ac028de65a1c315eb75c530c8a5d6 (patch)
tree5310047939d79cf5163047fbe1153ae769104fad /kernel/sys_ni.c
parent8dc003359cc3996abad9e53a7b2280b272610283 (diff)
downloadop-kernel-dev-01357dcac62ac028de65a1c315eb75c530c8a5d6.zip
op-kernel-dev-01357dcac62ac028de65a1c315eb75c530c8a5d6.tar.gz
[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: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'kernel/sys_ni.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud