diff options
| author | Thierry Reding <treding@nvidia.com> | 2013-11-08 07:28:34 -0500 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2013-12-19 03:29:51 -0500 |
| commit | aef03d3fa5eda2a94a64e893bc44f89a4e8f02c1 (patch) | |
| tree | c2c594992a6e97dccc9ade2e6d5cb5f56005fcc3 /drivers/gpu/host1x | |
| parent | 18b94f1cfbbb65cae3260d41c82149bc62b96e68 (diff) | |
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.c | 3 |
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 @@ | |||
| 22 | 22 | ||
| 23 | #include <linux/clk.h> | 23 | #include <linux/clk.h> |
| 24 | #include <linux/delay.h> | 24 | #include <linux/delay.h> |
| 25 | #include <linux/host1x.h> | ||
| 25 | #include <linux/io.h> | 26 | #include <linux/io.h> |
| 26 | #include <linux/of_platform.h> | 27 | #include <linux/of_platform.h> |
| 27 | #include <linux/platform_device.h> | 28 | #include <linux/platform_device.h> |
| 28 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
| 29 | 30 | ||
| 31 | #include "dev.h" | ||
| 32 | |||
| 30 | #define MIPI_CAL_CTRL 0x00 | 33 | #define MIPI_CAL_CTRL 0x00 |
| 31 | #define MIPI_CAL_CTRL_START (1 << 0) | 34 | #define MIPI_CAL_CTRL_START (1 << 0) |
| 32 | 35 | ||
