Re: [PATCH] mci: s3c: fix providing info callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux