summaryrefslogtreecommitdiffstats
path: root/drivers/mci/imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2013-06-03 10:59:35 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2013-06-03 10:59:53 +0200
commit2302fc6076879554aff61e8a5d33af6828d90c03 (patch)
tree4136ada1188380b0b89817cbbd428184b917f74e /drivers/mci/imx.c
parent56bd91c9a19735f08926db9b9736565fe1672b12 (diff)
downloadbarebox-2302fc6076879554aff61e8a5d33af6828d90c03.tar.gz
barebox-2302fc6076879554aff61e8a5d33af6828d90c03.tar.xz
mci: rename capabilities flags
Use MMC_CAP_ names instead of MMC_MODE_. This makes it more clear that these are capabilities of host/card and do not refer to the current mode. These are in line with the Linux Kernel except for MMC_CAP_MMC_HIGHSPEED_52MHZ which could be fixed later. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/mci/imx.c')
-rw-r--r--drivers/mci/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mci/imx.c b/drivers/mci/imx.c
index 2bf48eb1d3..aea78c7550 100644
--- a/drivers/mci/imx.c
+++ b/drivers/mci/imx.c
@@ -504,7 +504,7 @@ static int mxcmci_probe(struct device_d *dev)
host->mci.send_cmd = mxcmci_request;
host->mci.set_ios = mxcmci_set_ios;
host->mci.init = mxcmci_init;
- host->mci.host_caps = MMC_MODE_4BIT;
+ host->mci.host_caps = MMC_CAP_4_BIT_DATA;
host->mci.hw_dev = dev;
host->base = dev_request_mem_region(dev, 0);