From: Alan Cox Date: Wed, 16 Nov 2011 22:39:32 +0000 (+0000) Subject: gma500: kill off NUM_PIPE define X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=04bd564fdb3cbea09d14a271b4f2d616cc8eac90;p=linux-beck.git 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 Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/gma500/psb_drm.h b/drivers/gpu/drm/gma500/psb_drm.h index 6ded3439614d..113686785717 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 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;