summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hwc/hwc.c7
-rw-r--r--hwc/hwc_dev.h5
-rw-r--r--hwc/rgz_2d.c3
3 files changed, 6 insertions, 9 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index e9a9af7..d187675 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -40,16 +40,9 @@
#include <linux/fb.h>
#include <linux/omapfb.h>
-#include <linux/bltsville.h>
-#include <linux/ion.h>
-#include <linux/omap_ion.h>
#include <ion/ion.h>
-#include <video/dsscomp.h>
-#include <video/omap_hwc.h>
-#include "hal_public.h"
#include "hwc_dev.h"
-#include "rgz_2d.h"
#define min(a, b) ( { typeof(a) __a = (a), __b = (b); __a < __b ? __a : __b; } )
#define max(a, b) ( { typeof(a) __a = (a), __b = (b); __a > __b ? __a : __b; } )
diff --git a/hwc/hwc_dev.h b/hwc/hwc_dev.h
index 3403b85..2cd1ca0 100644
--- a/hwc/hwc_dev.h
+++ b/hwc/hwc_dev.h
@@ -23,6 +23,11 @@
#include <hardware/hwcomposer.h>
#include <ui/S3DFormat.h>
+#include <linux/bltsville.h>
+#include <video/dsscomp.h>
+#include <video/omap_hwc.h>
+
+#include "hal_public.h"
#include "rgz_2d.h"
struct ext_transform {
diff --git a/hwc/rgz_2d.c b/hwc/rgz_2d.c
index 5eb3e4b..3c79796 100644
--- a/hwc/rgz_2d.c
+++ b/hwc/rgz_2d.c
@@ -32,7 +32,6 @@
#include <cutils/log.h>
#include <cutils/properties.h>
#include <hardware/hwcomposer.h>
-#include "hal_public.h"
#else
#include "hwcomposer.h"
#include "buffer_handle.h"
@@ -40,7 +39,7 @@
#define HW_ALIGN 32
#endif
-#include "rgz_2d.h"
+#include "hwc_dev.h"
#ifdef RGZ_TEST_INTEGRATION
extern void BVDump(const char* prefix, const char* tab, const struct bvbltparams* parms);