gma500: kill off NUM_PIPE define
authorAlan Cox <alan@linux.intel.com>
Wed, 16 Nov 2011 22:39:32 +0000 (22:39 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Dec 2011 09:43:18 +0000 (09:43 +0000)
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>
drivers/gpu/drm/gma500/psb_drm.h
drivers/gpu/drm/gma500/psb_drv.h

index 6ded3439614d113656be5d84623c9b015d1d000d..113686785717cbf8358b01888182634fc014152e 100644 (file)
@@ -22,9 +22,6 @@
 #ifndef _PSB_DRM_H_
 #define _PSB_DRM_H_
 
-#define PSB_NUM_PIPE 3
-
-
 /*
  *     Manage the LUT for an output
  */
index 956774888cc350ae71b25905d00106ca0b3dbfb9..ffb05f2c79e102b220e586feac9016409b9f8f4b 100644 (file)
@@ -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;