summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-11-16 22:39:32 (GMT)
committerDave Airlie <airlied@redhat.com>2011-12-06 09:43:18 (GMT)
commit04bd564fdb3cbea09d14a271b4f2d616cc8eac90 (patch)
tree96b8d695dc34b37c2ff34b2e9e0c34dbd794eed1 /drivers/gpu/drm/gma500
parent770179d5e35c191e2c760d37abd5572ccdf6a002 (diff)
downloadlinux-fsl-qoriq-04bd564fdb3cbea09d14a271b4f2d616cc8eac90.tar.xz
gma500: kill off NUM_PIPE define
We don't want this external in case someone adds more to the hardware. We want it out of the ABI. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/gma500')
-rw-r--r--drivers/gpu/drm/gma500/psb_drm.h3
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drm.h b/drivers/gpu/drm/gma500/psb_drm.h
index 6ded343..1136867 100644
--- a/drivers/gpu/drm/gma500/psb_drm.h
+++ b/drivers/gpu/drm/gma500/psb_drm.h
@@ -22,9 +22,6 @@
#ifndef _PSB_DRM_H_
#define _PSB_DRM_H_
-#define PSB_NUM_PIPE 3
-
-
/*
* Manage the LUT for an output
*/
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index 9567748..ffb05f2 100644
--- a/drivers/gpu/drm/gma500/psb_drv.h
+++ b/drivers/gpu/drm/gma500/psb_drv.h
@@ -258,6 +258,8 @@ struct psb_intel_opregion {
struct psb_ops;
+#define PSB_NUM_PIPE 3
+
struct drm_psb_private {
struct drm_device *dev;
const struct psb_ops *ops;