ARM: 6243/1: mmci: pass power_mode to the translate_vdd callback
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 21 Jul 2010 11:53:57 +0000 (12:53 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 29 Jul 2010 14:39:05 +0000 (15:39 +0100)
commitbb8f563c848faa113059973f68c24a3bb6a9585e
tree7ce9952411dd8ba1e9f438a62d586d9078f06212
parentf5e2574e734650bbeb801a31cc99e628f9a027af
ARM: 6243/1: mmci: pass power_mode to the translate_vdd callback

Platforms may have some external power control which need to be
controlled from board specific code.  Rename the translate_vdd()
callback to vdd_handler() and pass it the power mode.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c
include/linux/amba/mmci.h