[PATCH 02/16] mci: make it compile without info support
Sascha Hauer
s.hauer at pengutronix.de
Fri Apr 8 10:36:48 EDT 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/mci/mci-core.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mci/mci-core.c b/drivers/mci/mci-core.c
index f3d975d..8fd948c 100644
--- a/drivers/mci/mci-core.c
+++ b/drivers/mci/mci-core.c
@@ -1338,7 +1338,9 @@ on_error:
static struct driver_d mci_driver = {
.name = "mci",
.probe = mci_probe,
+#ifdef CONFIG_MCI_INFO
.info = mci_info,
+#endif
};
static int mci_init(void)
--
1.7.2.3
More information about the barebox
mailing list