[PATCH TRIVIAL] atmel_lcdfb.c: Fix sinfo->irqbase from %lu to %d in dev_info().

Jiri Kosina jkosina at suse.cz
Fri Oct 9 11:31:03 EDT 2009


On Fri, 9 Oct 2009, Nicolas Ferre wrote:

> From: Claudio Scordino <claudio at evidence.eu.com>
> 
> This patch fixes a type mismatch when calling dev_info() in the
> atmel_lcdfb.c driver.
> 
> Signed-off-by: Claudio Scordino <claudio at evidence.eu.com>
> Signed-off-by: Nicolas Ferre <nicolas.ferre at atmel.com>
> ---
>  drivers/video/atmel_lcdfb.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
> index 2830ffd..317afab 100644
> --- a/drivers/video/atmel_lcdfb.c
> +++ b/drivers/video/atmel_lcdfb.c
> @@ -959,7 +959,7 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev)
>  	if (sinfo->atmel_lcdfb_power_control)
>  		sinfo->atmel_lcdfb_power_control(1);
>  
> -	dev_info(dev, "fb%d: Atmel LCDC at 0x%08lx (mapped at %p), irq %lu\n",
> +	dev_info(dev, "fb%d: Atmel LCDC at 0x%08lx (mapped at %p), irq %d\n",
>  		       info->node, info->fix.mmio_start, sinfo->mmio, sinfo->irq_base);
>  
>  	return 0;

Applied, thanks.

-- 
Jiri Kosina
SUSE Labs, Novell Inc.



More information about the linux-arm-kernel mailing list