diff options
author | Bo Shen <voice.shen@atmel.com> | 2014-03-19 08:47:55 +0100 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2014-03-19 12:03:53 +0100 |
commit | b7e4ab50418d5b34ab0dae95193dd71190e1fb50 (patch) | |
tree | 7c71cc3956a001ebec570d5e3449a8590b556ed8 | |
parent | video: imxfb: Add DT default contrast control register property. (diff) | |
download | linux-b7e4ab50418d5b34ab0dae95193dd71190e1fb50.tar.xz linux-b7e4ab50418d5b34ab0dae95193dd71190e1fb50.zip |
Video: atmel: avoid the id of fix screen info is overwritten
Correct passing parameter sequence, which will avoid the id of
fix screen info is overwritten.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
-rw-r--r-- | 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 b74e5f5ddac8..e683b6ef9594 100644 --- a/drivers/video/atmel_lcdfb.c +++ b/drivers/video/atmel_lcdfb.c @@ -1190,12 +1190,12 @@ static int __init atmel_lcdfb_probe(struct platform_device *pdev) if (!sinfo->config) goto free_info; - strcpy(info->fix.id, sinfo->pdev->name); info->flags = ATMEL_LCDFB_FBINFO_DEFAULT; info->pseudo_palette = sinfo->pseudo_palette; info->fbops = &atmel_lcdfb_ops; info->fix = atmel_lcdfb_fix; + strcpy(info->fix.id, sinfo->pdev->name); /* Enable LCDC Clocks */ sinfo->bus_clk = clk_get(dev, "hclk"); |