From ab451e4b7a5423d61b57cf0646599267d8504af4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Thu, 3 Jan 2008 17:52:39 +0100 Subject: radeon: Miscellaneous warning fixes. --- src/radeon_atombios.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/radeon_atombios.c') diff --git a/src/radeon_atombios.c b/src/radeon_atombios.c index b352a566..7cf05567 100644 --- a/src/radeon_atombios.c +++ b/src/radeon_atombios.c @@ -36,9 +36,6 @@ #include "radeon_macros.h" #include "xorg-server.h" -#if XSERVER_LIBPCIACCESS -#warning pciaccess defined -#endif /* only for testing now */ #include "xf86DDC.h" @@ -190,6 +187,8 @@ enum { # define LOG_CAIL LOG_DEBUG + 1 +#if 0 + static void RHDDebug(int scrnIndex, const char *format, ...) { @@ -210,6 +209,8 @@ RHDDebugCont(const char *format, ...) va_end(ap); } +#endif + static void CailDebug(int scrnIndex, const char *format, ...) { @@ -1644,7 +1645,7 @@ RADEONGetATOMTVInfo(xf86OutputPtr output) } Bool -RADEONATOMGetTVTimings(ScrnInfoPtr pScrn, int index, SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION *crtc_timing, uint32_t *pixel_clock) +RADEONATOMGetTVTimings(ScrnInfoPtr pScrn, int index, SET_CRTC_TIMING_PARAMETERS_PS_ALLOCATION *crtc_timing, int32_t *pixel_clock) { RADEONInfoPtr info = RADEONPTR(pScrn); ATOM_ANALOG_TV_INFO *tv_info; -- cgit v1.2.3