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

Commit aef03d3f authored by Thierry Reding's avatar Thierry Reding
Browse files

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: default avatarThierry Reding <treding@nvidia.com>
parent 18b94f1c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -22,11 +22,14 @@

#include <linux/clk.h>
#include <linux/delay.h>
#include <linux/host1x.h>
#include <linux/io.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/slab.h>

#include "dev.h"

#define MIPI_CAL_CTRL			0x00
#define MIPI_CAL_CTRL_START		(1 << 0)