Browse Source

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>
Alan Cox 13 years ago
parent
commit
04bd564fdb
2 changed files with 2 additions and 3 deletions
  1. 0 3
      drivers/gpu/drm/gma500/psb_drm.h
  2. 2 0
      drivers/gpu/drm/gma500/psb_drv.h

+ 0 - 3
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
  */

+ 2 - 0
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;