Message ID | b924f0b9-c769-3f9d-6242-c478408663fd@web.de (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fbdev: imsttfb: Adjustments for two function implementations | expand |
diff --git a/drivers/video/fbdev/imsttfb.c b/drivers/video/fbdev/imsttfb.c index 90c72428e8d7..346e0166c711 100644 --- a/drivers/video/fbdev/imsttfb.c +++ b/drivers/video/fbdev/imsttfb.c @@ -1491,7 +1491,7 @@ static int imsttfb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) else if (IS_ENABLED(CONFIG_OF)) printk(KERN_ERR "imsttfb: no OF node for pci device\n"); - info = framebuffer_alloc(sizeof(struct imstt_par), &pdev->dev); + info = framebuffer_alloc(sizeof(*par), &pdev->dev); if (!info) return -ENOMEM;