Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8a896baa authored by Wei Yongjun's avatar Wei Yongjun Committed by Tomi Valkeinen
Browse files

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: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarWan Zongshun <mcuos.com@gmail.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent f64279c8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -587,8 +587,7 @@ static int nuc900fb_probe(struct platform_device *pdev)
	fbinfo->flags			= FBINFO_FLAG_DEFAULT;
	fbinfo->pseudo_palette		= &fbi->pseudo_pal;

	ret = request_irq(irq, nuc900fb_irqhandler, 0,
			  pdev->name, fbinfo);
	ret = request_irq(irq, nuc900fb_irqhandler, 0, pdev->name, fbi);
	if (ret) {
		dev_err(&pdev->dev, "cannot register irq handler %d -err %d\n",
			irq, ret);