diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2013-07-15 20:07:14 -0400 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-07-26 03:55:39 -0400 |
commit | 8a896baafc951dd97d40a07a1cd1789c1c02c4bf (patch) | |
tree | 12fc5eb0da6d2c0245590c27dd52f6aef3be75b7 /drivers/video/nuc900fb.c | |
parent | f64279c8a3597137f6e39a8f3ade9db9d66684e8 (diff) |
video: nuc900fb: fix to pass correct device identity to request_irq()
The IRQ handler nuc900fb_irqhandler() use dev_id as a type of
struct nuc900fb_info *, so we should pass fbi as the device
identity to request_irq().
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Wan Zongshun <mcuos.com@gmail.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/nuc900fb.c')
-rw-r--r-- | drivers/video/nuc900fb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c index 8c527e5b293c..796e5112ceee 100644 --- a/drivers/video/nuc900fb.c +++ b/drivers/video/nuc900fb.c | |||
@@ -587,8 +587,7 @@ static int nuc900fb_probe(struct platform_device *pdev) | |||
587 | fbinfo->flags = FBINFO_FLAG_DEFAULT; | 587 | fbinfo->flags = FBINFO_FLAG_DEFAULT; |
588 | fbinfo->pseudo_palette = &fbi->pseudo_pal; | 588 | fbinfo->pseudo_palette = &fbi->pseudo_pal; |
589 | 589 | ||
590 | ret = request_irq(irq, nuc900fb_irqhandler, 0, | 590 | ret = request_irq(irq, nuc900fb_irqhandler, 0, pdev->name, fbi); |
591 | pdev->name, fbinfo); | ||
592 | if (ret) { | 591 | if (ret) { |
593 | dev_err(&pdev->dev, "cannot register irq handler %d -err %d\n", | 592 | dev_err(&pdev->dev, "cannot register irq handler %d -err %d\n", |
594 | irq, ret); | 593 | irq, ret); |