[PATCH 06/14] mci: mxs-mci: add f_min/f_max fields unconditionally
Sascha Hauer
s.hauer at pengutronix.de
Fri Nov 28 06:28:58 PST 2014
Parts of the driver need these regardless of whether CONFIG_MCI_INFO
is set, so add these fields unconditionally.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/mci/mxs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/mci/mxs.c b/drivers/mci/mxs.c
index 738bde9..d6565ca 100644
--- a/drivers/mci/mxs.c
+++ b/drivers/mci/mxs.c
@@ -53,10 +53,8 @@ struct mxs_mci_host {
void __iomem *regs;
struct clk *clk;
unsigned clock; /* current clock speed in Hz ("0" if disabled) */
-#ifdef CONFIG_MCI_INFO
unsigned f_min;
unsigned f_max;
-#endif
unsigned bus_width:2; /* 0 = 1 bit, 1 = 4 bit, 2 = 8 bit */
};
--
2.1.3
More information about the barebox
mailing list