summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/sh_mobile_sdhi.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2011-02-18 04:07:29 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2011-03-23 10:41:56 +0100
commit4f95bf404870cccb08ff6d59e1986d43aee5efb6 (patch)
treeb403dede853d5999b50167c83f8d27fbaaae0f2f /drivers/mfd/sh_mobile_sdhi.c
parentw1: Use mfd_data instead of driver_data for dsw1wm.c (diff)
downloadlinux-4f95bf404870cccb08ff6d59e1986d43aee5efb6.tar.xz
linux-4f95bf404870cccb08ff6d59e1986d43aee5efb6.zip
mmc: Use mfd_data instead of driver_data for tmio-mmc
Use mfd_data for passing information from mfd drivers to mfd clients. The mfd_cell's driver_data field is being phased out. Clients that were using driver_data now access .mfd_data via mfd_get_data(). This changes tmio-mmc only; mfd drivers with other cells are not modified. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/sh_mobile_sdhi.c')
-rw-r--r--drivers/mfd/sh_mobile_sdhi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/sh_mobile_sdhi.c b/drivers/mfd/sh_mobile_sdhi.c
index b511e744e526..53a63024bf11 100644
--- a/drivers/mfd/sh_mobile_sdhi.c
+++ b/drivers/mfd/sh_mobile_sdhi.c
@@ -146,7 +146,7 @@ static int __devinit sh_mobile_sdhi_probe(struct platform_device *pdev)
}
memcpy(&priv->cell_mmc, &sh_mobile_sdhi_cell, sizeof(priv->cell_mmc));
- priv->cell_mmc.driver_data = mmc_data;
+ priv->cell_mmc.mfd_data = mmc_data;
platform_set_drvdata(pdev, priv);