diff options
author | Dave Airlie <airlied@redhat.com> | 2015-07-27 09:22:57 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2015-07-28 06:30:19 +1000 |
commit | 5510cd6027d2387efdf33575e3bfc424cb11bfd8 (patch) | |
tree | 04a065fe2836b10707066108d44aeeaf78dace1e /src/radeon_glamor.h | |
parent | b32a0a3de84a44b9af4f1ca8be19f10d7fa31b12 (diff) |
radeon: move radeon_pixmap forward declaration into other block
There is already a radeon_pixmap forward decl here, the #else
block is missing one.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/radeon_glamor.h')
-rw-r--r-- | src/radeon_glamor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/radeon_glamor.h b/src/radeon_glamor.h index 1ba7049a..c77466ed 100644 --- a/src/radeon_glamor.h +++ b/src/radeon_glamor.h @@ -61,8 +61,6 @@ struct radeon_pixmap; #define GLAMOR_USE_PICTURE_SCREEN 0 #endif -struct radeon_pixmap; - Bool radeon_glamor_pre_init(ScrnInfoPtr scrn); Bool radeon_glamor_init(ScreenPtr screen); void radeon_glamor_screen_init(ScreenPtr screen); @@ -76,6 +74,8 @@ XF86VideoAdaptorPtr radeon_glamor_xv_init(ScreenPtr pScreen, int num_adapt); #else +struct radeon_pixmap; + static inline Bool radeon_glamor_pre_init(ScrnInfoPtr scrn) { return FALSE; } static inline Bool radeon_glamor_init(ScreenPtr screen) { return FALSE; } static inline Bool radeon_glamor_create_screen_resources(ScreenPtr screen) { return FALSE; } |