浏览代码

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 14 年之前
父节点
当前提交
04bd564fdb
共有 2 个文件被更改,包括 2 次插入3 次删除
  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_
 #ifndef _PSB_DRM_H_
 #define _PSB_DRM_H_
 #define _PSB_DRM_H_
 
 
-#define PSB_NUM_PIPE 3
-
-
 /*
 /*
  *	Manage the LUT for an output
  *	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;
 struct psb_ops;
 
 
+#define PSB_NUM_PIPE		3
+
 struct drm_psb_private {
 struct drm_psb_private {
 	struct drm_device *dev;
 	struct drm_device *dev;
 	const struct psb_ops *ops;
 	const struct psb_ops *ops;