mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] mci: s3c: fix providing info callback
@ 2018-08-07 14:11 Uwe Kleine-König
  2018-08-08  7:30 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2018-08-07 14:11 UTC (permalink / raw)
  To: barebox

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>
---
 drivers/mci/s3c.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mci/s3c.c b/drivers/mci/s3c.c
index 86a83b63fa87..489609712cb1 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;
 
 	/*
-- 
2.18.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mci: s3c: fix providing info callback
  2018-08-07 14:11 [PATCH] mci: s3c: fix providing info callback Uwe Kleine-König
@ 2018-08-08  7:30 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2018-08-08  7:30 UTC (permalink / raw)
  To: Uwe Kleine-König; +Cc: barebox

On Tue, Aug 07, 2018 at 04:11:09PM +0200, Uwe Kleine-König wrote:
> 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>
> ---
>  drivers/mci/s3c.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks

Sascha

> 
> diff --git a/drivers/mci/s3c.c b/drivers/mci/s3c.c
> index 86a83b63fa87..489609712cb1 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;
>  
>  	/*
> -- 
> 2.18.0
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-08  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-07 14:11 [PATCH] mci: s3c: fix providing info callback Uwe Kleine-König
2018-08-08  7:30 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox