diff options
author | Michel Dänzer <michel@tungstengraphics.com> | 2007-12-15 00:48:26 +0100 |
---|---|---|
committer | Michel Dänzer <michel@tungstengraphics.com> | 2007-12-15 00:48:26 +0100 |
commit | 6229825fa5d6715569098afbb21a40f7a2e7e6be (patch) | |
tree | 2bf5683a93240250894387180409691c3e2c32ac /src/radeon_output.c | |
parent | 818ccf0fd4b5879171c5f20526d5a58638f8fde5 (diff) |
radeon: Warning fixes.
The lid detection code probably wouldn't work on other non-x86 platforms
though...
Diffstat (limited to 'src/radeon_output.c')
-rw-r--r-- | src/radeon_output.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/radeon_output.c b/src/radeon_output.c index 12c83aa6..5dd80fa7 100644 --- a/src/radeon_output.c +++ b/src/radeon_output.c @@ -684,6 +684,8 @@ void RADEONConnectorFindMonitor(ScrnInfoPtr pScrn, xf86OutputPtr output) } } +#ifndef __powerpc__ + static RADEONMonitorType RADEONDetectLidStatus(ScrnInfoPtr pScrn) { @@ -723,6 +725,8 @@ RADEONDetectLidStatus(ScrnInfoPtr pScrn) return MonType; } +#endif /* __powerpc__ */ + static RADEONMonitorType RADEONPortCheckNonDDC(ScrnInfoPtr pScrn, xf86OutputPtr output) { RADEONOutputPrivatePtr radeon_output = output->driver_private; |