summaryrefslogtreecommitdiffstats
path: root/drivers/mci/pxamci.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/pxamci.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/pxamci.c')
-rw-r--r--drivers/mci/pxamci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mci/pxamci.c b/drivers/mci/pxamci.c
index c1380d1fd8..5ab88b8beb 100644
--- a/drivers/mci/pxamci.c
+++ b/drivers/mci/pxamci.c
@@ -343,7 +343,7 @@ static int pxamci_probe(struct device_d *dev)
host->mci.init = pxamci_init;
host->mci.send_cmd = pxamci_request;
host->mci.set_ios = pxamci_set_ios;
- host->mci.host_caps = MMC_MODE_4BIT;
+ host->mci.host_caps = MMC_CAP_4_BIT_DATA;
host->mci.hw_dev = dev;
host->mci.voltages = MMC_VDD_32_33 | MMC_VDD_33_34;