long rc = 0;
size_t offset;
+return -EFAULT;
+
/* restrict this to root user */
if (!uid_eq(current_euid(), GLOBAL_ROOT_UID)) {
rc = -EFAULT;
dev_info(&dev->dev, "FB found %d display(s)\n", num_displays);
+#if 0
/* Set up the DMA information. Note we have just one set of DMA
* parameters to work with all the FB's so requires synchronising when
* being used
"Failed to request DMA irq\n");
goto free_dma_chan;
}
-
+#endif
rpi_firmware_property(fbdev->fw,
RPI_FIRMWARE_GET_VC_MEMORY,
&gpu_mem, sizeof(gpu_mem));