lkml.org 
[lkml]   [2009]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH TRIVIAL] atmel_lcdfb.c: Fix sinfo->irqbase from %lu to %d in dev_info().
    Date
    From: Claudio Scordino <claudio@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@evidence.eu.com>
    Signed-off-by: Nicolas Ferre <nicolas.ferre@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;
    --
    1.5.6.5


    \
     
     \ /
      Last update: 2009-10-09 11:23    [W:0.019 / U:60.024 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site