|
@@ -76,7 +76,7 @@ int radeon_enable_vblank(struct drm_device *dev, int crtc)
|
|
default:
|
|
default:
|
|
DRM_ERROR("tried to enable vblank on non-existent crtc %d\n",
|
|
DRM_ERROR("tried to enable vblank on non-existent crtc %d\n",
|
|
crtc);
|
|
crtc);
|
|
- return EINVAL;
|
|
|
|
|
|
+ return -EINVAL;
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
switch (crtc) {
|
|
switch (crtc) {
|
|
@@ -89,7 +89,7 @@ int radeon_enable_vblank(struct drm_device *dev, int crtc)
|
|
default:
|
|
default:
|
|
DRM_ERROR("tried to enable vblank on non-existent crtc %d\n",
|
|
DRM_ERROR("tried to enable vblank on non-existent crtc %d\n",
|
|
crtc);
|
|
crtc);
|
|
- return EINVAL;
|
|
|
|
|
|
+ return -EINVAL;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|