diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_display.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_display.c b/drivers/gpu/drm/nouveau/nouveau_display.c index 21b10f9840c9..f1e36f70755d 100644 --- a/drivers/gpu/drm/nouveau/nouveau_display.c +++ b/drivers/gpu/drm/nouveau/nouveau_display.c | |||
@@ -156,7 +156,7 @@ nouveau_display_scanoutpos(struct drm_device *dev, unsigned int pipe, | |||
156 | return 0; | 156 | return 0; |
157 | } | 157 | } |
158 | 158 | ||
159 | int | 159 | bool |
160 | nouveau_display_vblstamp(struct drm_device *dev, unsigned int pipe, | 160 | nouveau_display_vblstamp(struct drm_device *dev, unsigned int pipe, |
161 | int *max_error, struct timeval *time, unsigned flags) | 161 | int *max_error, struct timeval *time, unsigned flags) |
162 | { | 162 | { |
@@ -174,7 +174,7 @@ nouveau_display_vblstamp(struct drm_device *dev, unsigned int pipe, | |||
174 | } | 174 | } |
175 | } | 175 | } |
176 | 176 | ||
177 | return -EINVAL; | 177 | return false; |
178 | } | 178 | } |
179 | 179 | ||
180 | static void | 180 | static void |