summaryrefslogtreecommitdiffstats
path: root/drivers/staging/omapdrm/omap_drv.h
diff options
context:
space:
mode:
authorRob Clark2012-10-29 09:31:12 +0100
committerGreg Kroah-Hartman2012-10-30 19:10:00 +0100
commit5e3b08749951e5746d3e747f1ffae37eff2d08d5 (patch)
treebfab9efe3cc06d1208ab4a1b7cc180154d07a91f /drivers/staging/omapdrm/omap_drv.h
parentstaging: drm/omap: remove global drm_device ptr (diff)
downloadkernel-qcow2-linux-5e3b08749951e5746d3e747f1ffae37eff2d08d5.tar.gz
kernel-qcow2-linux-5e3b08749951e5746d3e747f1ffae37eff2d08d5.tar.xz
kernel-qcow2-linux-5e3b08749951e5746d3e747f1ffae37eff2d08d5.zip
staging: drm/omap: add support for ARCH_MULTIPLATFORM
Remove usage of plat/cpu.h and get information from platform data instead. This enables omapdrm to be built with ARCH_MULTIPLATFORM. Signed-off-by: Rob Clark <rob@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/omapdrm/omap_drv.h')
-rw-r--r--drivers/staging/omapdrm/omap_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/omapdrm/omap_drv.h b/drivers/staging/omapdrm/omap_drv.h
index 9dc72d143ff3..8f7c447930fa 100644
--- a/drivers/staging/omapdrm/omap_drv.h
+++ b/drivers/staging/omapdrm/omap_drv.h
@@ -40,6 +40,8 @@
#define MAX_MAPPERS 2
struct omap_drm_private {
+ uint32_t omaprev;
+
unsigned int num_crtcs;
struct drm_crtc *crtcs[8];