Revert "bcm2708_fb: Fix more build warnings"
authorDom Cobley <popcornmix@gmail.com>
Thu, 12 Oct 2023 14:52:24 +0000 (15:52 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:35:06 +0000 (11:35 +0000)
This reverts commit 7b11991e91e65ebeb315986fae05d363663d24c4.

drivers/video/fbdev/bcm2708_fb.c

index 2cebb5a0847a6475026e3c70daafcbb8a4f68693..135260ccf240380b5f9ae1adfa83cd3212b7b366 100644 (file)
@@ -955,7 +955,6 @@ static void bcm2708_fb_imageblit(struct fb_info *info,
        cfb_imageblit(info, image);
 }
 
-#if 0
 static irqreturn_t bcm2708_fb_dma_irq(int irq, void *cxt)
 {
        struct bcm2708_fb_dev *fbdev = cxt;
@@ -973,7 +972,6 @@ static irqreturn_t bcm2708_fb_dma_irq(int irq, void *cxt)
        wake_up(&fbdev->dma_waitq);
        return IRQ_HANDLED;
 }
-#endif
 
 static struct fb_ops bcm2708_fb_ops = {
        .owner = THIS_MODULE,
@@ -1197,12 +1195,12 @@ static int bcm2708_fb_probe(struct platform_device *dev)
                return ret;
        }
 
-//free_dma_chan:
+free_dma_chan:
        bcm_dma_chan_free(fbdev->dma_chan);
-//free_cb:
+free_cb:
        dma_free_wc(&dev->dev, SZ_64K, fbdev->cb_base,
                              fbdev->cb_handle);
-//free_fb:
+free_fb:
        dev_err(&dev->dev, "probe failed, err %d\n", ret);
 
        return ret;