Commit 9eb9b220 authored by Thierry Reding's avatar Thierry Reding

gpu: host1x: Cleanup includes

Most of the included files are either not required or already included
by some other header file.
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent c88c3630
...@@ -8,11 +8,8 @@ ...@@ -8,11 +8,8 @@
*/ */
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/debugfs.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/clk/tegra.h> #include <linux/clk/tegra.h>
#include <linux/debugfs.h>
#include "host1x_client.h" #include "host1x_client.h"
#include "dc.h" #include "dc.h"
......
...@@ -7,16 +7,6 @@ ...@@ -7,16 +7,6 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/of_platform.h>
#include <linux/dma-mapping.h>
#include <asm/dma-iommu.h>
#include <drm/drm.h>
#include <drm/drmP.h>
#include "host1x_client.h" #include "host1x_client.h"
#include "dev.h" #include "dev.h"
#include "drm.h" #include "drm.h"
......
...@@ -10,8 +10,6 @@ ...@@ -10,8 +10,6 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/module.h>
#include "drm.h" #include "drm.h"
#include "gem.h" #include "gem.h"
......
...@@ -18,15 +18,6 @@ ...@@ -18,15 +18,6 @@
* GNU General Public License for more details. * GNU General Public License for more details.
*/ */
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/export.h>
#include <linux/dma-mapping.h>
#include <drm/drmP.h>
#include <drm/drm.h>
#include "gem.h" #include "gem.h"
static inline struct tegra_bo *host1x_to_drm_bo(struct host1x_bo *bo) static inline struct tegra_bo *host1x_to_drm_bo(struct host1x_bo *bo)
......
/* /*
* drivers/video/tegra/host/gr2d/gr2d.c
*
* Tegra Graphics 2D
*
* Copyright (c) 2012-2013, NVIDIA Corporation. * Copyright (c) 2012-2013, NVIDIA Corporation.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
...@@ -18,9 +14,6 @@ ...@@ -18,9 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include <linux/export.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/clk.h> #include <linux/clk.h>
#include "channel.h" #include "channel.h"
......
...@@ -8,16 +8,10 @@ ...@@ -8,16 +8,10 @@
*/ */
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/clk/tegra.h>
#include <linux/debugfs.h> #include <linux/debugfs.h>
#include <linux/gpio.h>
#include <linux/hdmi.h> #include <linux/hdmi.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/regulator/consumer.h> #include <linux/regulator/consumer.h>
#include <linux/clk/tegra.h>
#include <drm/drm_edid.h>
#include "hdmi.h" #include "hdmi.h"
#include "drm.h" #include "drm.h"
......
...@@ -7,9 +7,7 @@ ...@@ -7,9 +7,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <linux/module.h>
#include <linux/of_gpio.h> #include <linux/of_gpio.h>
#include <linux/i2c.h>
#include "drm.h" #include "drm.h"
......
...@@ -8,9 +8,6 @@ ...@@ -8,9 +8,6 @@
*/ */
#include <linux/clk.h> #include <linux/clk.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include "drm.h" #include "drm.h"
#include "dc.h" #include "dc.h"
......
...@@ -15,13 +15,6 @@ ...@@ -15,13 +15,6 @@
* *
*/ */
#include <linux/debugfs.h>
#include <linux/seq_file.h>
#include <linux/mm.h>
#include <linux/scatterlist.h>
#include <linux/io.h>
#include "dev.h" #include "dev.h"
#include "debug.h" #include "debug.h"
#include "cdma.h" #include "cdma.h"
......
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