Commit 9eb9b220fc7deec9022d2340346f12554a3c7f1c
1 parent
c88c363072
Exists in
master
and in
16 other branches
gpu: host1x: Cleanup includes
Most of the included files are either not required or already included by some other header file. Signed-off-by: Thierry Reding <treding@nvidia.com>
Showing 9 changed files with 2 additions and 51 deletions Side-by-side Diff
drivers/gpu/host1x/drm/dc.c
... | ... | @@ -8,11 +8,8 @@ |
8 | 8 | */ |
9 | 9 | |
10 | 10 | #include <linux/clk.h> |
11 | -#include <linux/debugfs.h> | |
12 | -#include <linux/module.h> | |
13 | -#include <linux/of.h> | |
14 | -#include <linux/platform_device.h> | |
15 | 11 | #include <linux/clk/tegra.h> |
12 | +#include <linux/debugfs.h> | |
16 | 13 | |
17 | 14 | #include "host1x_client.h" |
18 | 15 | #include "dc.h" |
drivers/gpu/host1x/drm/drm.c
... | ... | @@ -7,16 +7,6 @@ |
7 | 7 | * published by the Free Software Foundation. |
8 | 8 | */ |
9 | 9 | |
10 | -#include <linux/module.h> | |
11 | -#include <linux/of_address.h> | |
12 | -#include <linux/of_platform.h> | |
13 | - | |
14 | -#include <linux/dma-mapping.h> | |
15 | -#include <asm/dma-iommu.h> | |
16 | - | |
17 | -#include <drm/drm.h> | |
18 | -#include <drm/drmP.h> | |
19 | - | |
20 | 10 | #include "host1x_client.h" |
21 | 11 | #include "dev.h" |
22 | 12 | #include "drm.h" |
drivers/gpu/host1x/drm/fb.c
drivers/gpu/host1x/drm/gem.c
... | ... | @@ -18,15 +18,6 @@ |
18 | 18 | * GNU General Public License for more details. |
19 | 19 | */ |
20 | 20 | |
21 | -#include <linux/mm.h> | |
22 | -#include <linux/slab.h> | |
23 | -#include <linux/mutex.h> | |
24 | -#include <linux/export.h> | |
25 | -#include <linux/dma-mapping.h> | |
26 | - | |
27 | -#include <drm/drmP.h> | |
28 | -#include <drm/drm.h> | |
29 | - | |
30 | 21 | #include "gem.h" |
31 | 22 | |
32 | 23 | static inline struct tegra_bo *host1x_to_drm_bo(struct host1x_bo *bo) |
drivers/gpu/host1x/drm/gr2d.c
1 | 1 | /* |
2 | - * drivers/video/tegra/host/gr2d/gr2d.c | |
3 | - * | |
4 | - * Tegra Graphics 2D | |
5 | - * | |
6 | 2 | * Copyright (c) 2012-2013, NVIDIA Corporation. |
7 | 3 | * |
8 | 4 | * This program is free software; you can redistribute it and/or modify it |
... | ... | @@ -18,9 +14,6 @@ |
18 | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 | 15 | */ |
20 | 16 | |
21 | -#include <linux/export.h> | |
22 | -#include <linux/of.h> | |
23 | -#include <linux/of_device.h> | |
24 | 17 | #include <linux/clk.h> |
25 | 18 | |
26 | 19 | #include "channel.h" |
drivers/gpu/host1x/drm/hdmi.c
... | ... | @@ -8,16 +8,10 @@ |
8 | 8 | */ |
9 | 9 | |
10 | 10 | #include <linux/clk.h> |
11 | +#include <linux/clk/tegra.h> | |
11 | 12 | #include <linux/debugfs.h> |
12 | -#include <linux/gpio.h> | |
13 | 13 | #include <linux/hdmi.h> |
14 | -#include <linux/module.h> | |
15 | -#include <linux/of.h> | |
16 | -#include <linux/platform_device.h> | |
17 | 14 | #include <linux/regulator/consumer.h> |
18 | -#include <linux/clk/tegra.h> | |
19 | - | |
20 | -#include <drm/drm_edid.h> | |
21 | 15 | |
22 | 16 | #include "hdmi.h" |
23 | 17 | #include "drm.h" |
drivers/gpu/host1x/drm/output.c
drivers/gpu/host1x/drm/rgb.c
drivers/gpu/host1x/hw/debug_hw.c