summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2018-08-07 16:11:09 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-08-08 09:30:36 +0200
commit1ffe3a8b1bed66992879555c1508dfbb1c9fc779 (patch)
treefcddff89204b63a4fb2100b718ca65d10f7c7d84
parentff16f98a42801dbedf3ca9a2a2e88236cce9f672 (diff)
downloadbarebox-1ffe3a8b1bed66992879555c1508dfbb1c9fc779.tar.gz
barebox-1ffe3a8b1bed66992879555c1508dfbb1c9fc779.tar.xz
mci: s3c: fix providing info callback
There is no symbol iCONFIG_MCI_INFO, CONFIG_MCI_INFO makes sense here and matches what was added in the same commit to other drivers. Fixes: 73b0d228e5b0 ("driver: Attach info callback to device, not to driver") Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mci/s3c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mci/s3c.c b/drivers/mci/s3c.c
index 86a83b63f..489609712 100644
--- a/drivers/mci/s3c.c
+++ b/drivers/mci/s3c.c
@@ -755,7 +755,7 @@ static int s3c_mci_probe(struct device_d *hw_dev)
s3c_host->host.f_min = pd->f_min == 0 ? s3c_get_pclk() / 256 : pd->f_min;
s3c_host->host.f_max = pd->f_max == 0 ? s3c_get_pclk() / 2 : pd->f_max;
- if (IS_ENABLED(iCONFIG_MCI_INFO))
+ if (IS_ENABLED(CONFIG_MCI_INFO))
hw_dev->info = s3c_info;
/*