summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/mach64_irq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/mach64_irq.c')
-rw-r--r--sys/dev/pci/drm/mach64_irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/mach64_irq.c b/sys/dev/pci/drm/mach64_irq.c
index 57879e8d74c..0b350b2ffe2 100644
--- a/sys/dev/pci/drm/mach64_irq.c
+++ b/sys/dev/pci/drm/mach64_irq.c
@@ -86,7 +86,7 @@ int mach64_enable_vblank(struct drm_device * dev, int crtc)
if (crtc != 0) {
DRM_ERROR("tried to enable vblank on non-existent crtc %d\n",
crtc);
- return -EINVAL;
+ return EINVAL;
}
DRM_DEBUG("before enable vblank CRTC_INT_CTNL: 0x%08x\n", status);