Commit aef03d3f authored by Thierry Reding's avatar Thierry Reding

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
...@@ -22,11 +22,14 @@ ...@@ -22,11 +22,14 @@
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/host1x.h>
#include <linux/io.h> #include <linux/io.h>
#include <linux/of_platform.h> #include <linux/of_platform.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include <linux/slab.h> #include <linux/slab.h>
#include "dev.h"
#define MIPI_CAL_CTRL 0x00 #define MIPI_CAL_CTRL 0x00
#define MIPI_CAL_CTRL_START (1 << 0) #define MIPI_CAL_CTRL_START (1 << 0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment