Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

gpu: host1x: Fix more sparse warnings

Include the linux/host1x.h and dev.h headers so that function prototypes
are visible to keep sparse from suggesting that their implementations be
made static.

Signed-off-by: Thierry Reding <treding@nvidia.com>

+3
+3
drivers/gpu/host1x/mipi.c
··· 22 22 23 23 #include <linux/clk.h> 24 24 #include <linux/delay.h> 25 + #include <linux/host1x.h> 25 26 #include <linux/io.h> 26 27 #include <linux/of_platform.h> 27 28 #include <linux/platform_device.h> 28 29 #include <linux/slab.h> 30 + 31 + #include "dev.h" 29 32 30 33 #define MIPI_CAL_CTRL 0x00 31 34 #define MIPI_CAL_CTRL_START (1 << 0)