[PATCH 04/15] mci mxs: do not use external define for internal use

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 9 06:53:47 EST 2012


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mci/mxs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c
index 4b8bd75..a60e706 100644
--- a/drivers/mci/mxs.c
+++ b/drivers/mci/mxs.c
@@ -672,7 +672,7 @@ const unsigned char bus_width[3] = { 1, 4, 8 };
 
 static void mxs_mci_info(struct device_d *hw_dev)
 {
-	struct mxs_mci_host *mxs_mci = GET_HOST_DATA(hw_dev);
+	struct mxs_mci_host *mxs_mci = hw_dev->priv;
 
 	printf(" Interface\n");
 	printf("  Min. bus clock: %u Hz\n", mxs_mci->f_min);
-- 
1.7.9




More information about the barebox mailing list