summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/radeon.h1
-rw-r--r--src/radeon_modes.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/radeon.h b/src/radeon.h
index 53b1cf5..7789a9a 100644
--- a/src/radeon.h
+++ b/src/radeon.h
@@ -907,6 +907,7 @@ extern int RADEONValidateMergeModes(ScrnInfoPtr pScrn);
extern int RADEONValidateDDCModes(ScrnInfoPtr pScrn1, char **ppModeName,
RADEONMonitorType DisplayType, int crtc2);
extern int RADEONValidateFPModes(ScrnInfoPtr pScrn, char **ppModeName);
+extern void RADEONSetPitch (ScrnInfoPtr pScrn);
#ifdef XF86DRI
diff --git a/src/radeon_modes.c b/src/radeon_modes.c
index 94b1d5b..132f088 100644
--- a/src/radeon_modes.c
+++ b/src/radeon_modes.c
@@ -117,7 +117,7 @@ static void RADEONSortModes(DisplayModePtr *new, DisplayModePtr *first,
}
}
-static void RADEONSetPitch (ScrnInfoPtr pScrn)
+void RADEONSetPitch (ScrnInfoPtr pScrn)
{
int dummy = pScrn->virtualX;
RADEONInfoPtr info = RADEONPTR(pScrn);