summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/gma500/psb_drv.h
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2011-11-16 22:39:32 +0000
committerDave Airlie <airlied@redhat.com>2011-12-06 09:43:18 +0000
commit04bd564fdb3cbea09d14a271b4f2d616cc8eac90 (patch)
tree96b8d695dc34b37c2ff34b2e9e0c34dbd794eed1 /drivers/gpu/drm/gma500/psb_drv.h
parent770179d5e35c191e2c760d37abd5572ccdf6a002 (diff)
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/psb_drv.h')
-rw-r--r--drivers/gpu/drm/gma500/psb_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/gma500/psb_drv.h b/drivers/gpu/drm/gma500/psb_drv.h
index 956774888cc3..ffb05f2c79e1 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;