summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/host1x
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-11-08 13:28:34 +0100
committerThierry Reding <treding@nvidia.com>2013-12-19 09:29:51 +0100
commitaef03d3fa5eda2a94a64e893bc44f89a4e8f02c1 (patch)
treec2c594992a6e97dccc9ade2e6d5cb5f56005fcc3 /drivers/gpu/host1x
parent18b94f1cfbbb65cae3260d41c82149bc62b96e68 (diff)
downloadlinux-aef03d3fa5eda2a94a64e893bc44f89a4e8f02c1.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/host1x')
-rw-r--r--drivers/gpu/host1x/mipi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/host1x/mipi.c b/drivers/gpu/host1x/mipi.c
index 518b98dd3087..9882ea122024 100644
--- a/drivers/gpu/host1x/mipi.c
+++ b/drivers/gpu/host1x/mipi.c
@@ -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)