diff --git a/drivers/gpu/drm/gma500/psb_drm.h b/drivers/gpu/drm/gma500/psb_drm.h index 6ded3439614d113656be5d84623c9b015d1d000d..113686785717cbf8358b01888182634fc014152e 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 956774888cc350ae71b25905d00106ca0b3dbfb9..ffb05f2c79e102b220e586feac9016409b9f8f4b 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;