]> git.karo-electronics.de Git - linux-beck.git/commitdiff
OMAP: DSS2: remove extra includes from include/video/omapdss.h
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 23 May 2011 08:51:18 +0000 (11:51 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 1 Jul 2011 09:01:12 +0000 (12:01 +0300)
omapdss.h included platform_device.h and atomic.h, neither of which is
needed by omapdss.h. Remove those includes from omapdss.h, and fix the
affected .c files which did not include platform_device.h even though
they should.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c
drivers/video/omap2/dss/dss.c
drivers/video/omap2/dss/hdmi.c
drivers/video/omap2/dss/rfbi.c
include/video/omapdss.h

index 7a9a2e7d968530f9bac3000d086e4a2eac531d7f..a9eebd8e79fe086e81b295cd14265eda5ed72068 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/workqueue.h>
 #include <linux/hardirq.h>
 #include <linux/interrupt.h>
+#include <linux/platform_device.h>
 
 #include <plat/sram.h>
 #include <plat/clock.h>
index d9489d5c4f08d96c942676ee00dddc93d62f3208..d0b3f81b3724392a6a0fa5483e4ea9daf9ee2c1f 100644 (file)
@@ -28,6 +28,7 @@
 #include <linux/delay.h>
 #include <linux/seq_file.h>
 #include <linux/clk.h>
+#include <linux/platform_device.h>
 
 #include <video/omapdss.h>
 #include <plat/clock.h>
index b0555f4f0a78b534c52cd427d871603d3424969f..b630c988fd5125f9990d57a16db969ab0c4cf684 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/mutex.h>
 #include <linux/delay.h>
 #include <linux/string.h>
+#include <linux/platform_device.h>
 #include <video/omapdss.h>
 #if defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI) || \
        defined(CONFIG_SND_OMAP_SOC_OMAP4_HDMI_MODULE)
index c06fbe0bc6789bee3c32a796b1b9efdb4efc763d..a873104ee65aa4b37feb6ecb7ecd2e52d7845f7e 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/hrtimer.h>
 #include <linux/seq_file.h>
 #include <linux/semaphore.h>
+#include <linux/platform_device.h>
 
 #include <video/omapdss.h>
 #include "dss.h"
index 892b97f8e1576f969821688820350a0020762641..bb397381eca30f64ea50cf77738e3fb3db2b5eff 100644 (file)
@@ -21,8 +21,6 @@
 #include <linux/list.h>
 #include <linux/kobject.h>
 #include <linux/device.h>
-#include <linux/platform_device.h>
-#include <asm/atomic.h>
 
 #define DISPC_IRQ_FRAMEDONE            (1 << 0)
 #define DISPC_IRQ_VSYNC                        (1 << 1)