]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
OMAP3 Move twl4030 mmc function
authorTom Rix <Tom.Rix@windriver.com>
Sun, 28 Jun 2009 17:52:31 +0000 (12:52 -0500)
committerHeiko Schocher <hs@denx.de>
Wed, 29 Jul 2009 07:57:43 +0000 (09:57 +0200)
commitfccc0fcaaae5154612f8259365d26d04f204859f
tree0f051f39d20bd514f989d51061f34ffe1cc5e5ff
parent2c15513010493435c78f83202940ac3be11de2c3
OMAP3 Move twl4030 mmc function

Because twl4030 now has its own device files, move and rename
twl4030_mmc_config.

twl4030_mmc_config initializes the twl4030 power setting to
the mmc device.  Because it is in the twl4030 power domain, move
it out of drivers/mmc/omap3_mmc.c and into drivers/power/twl4030.c.

The function was renamed to twl4030_power_mmc_init because all
the functions in this file are to have the format

twl4030_power_<device>_<action>

In this case the suffix is mmc_init so
device : mmc
action : init

Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: Heiko Schocher <hs@denx.de>
drivers/mmc/omap3_mmc.c
drivers/power/twl4030.c
include/configs/omap3_evm.h
include/twl4030.h