artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cba1ee
)
add drm_invalid_op()
author
jsg
<jsg@openbsd.org>
Tue, 30 Jan 2018 08:17:31 +0000
(08:17 +0000)
committer
jsg
<jsg@openbsd.org>
Tue, 30 Jan 2018 08:17:31 +0000
(08:17 +0000)
sys/dev/pci/drm/drm_drv.c
patch
|
blob
|
history
diff --git
a/sys/dev/pci/drm/drm_drv.c
b/sys/dev/pci/drm/drm_drv.c
index
065691a
..
1cefbb8
100644
(file)
--- a/
sys/dev/pci/drm/drm_drv.c
+++ b/
sys/dev/pci/drm/drm_drv.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: drm_drv.c,v 1.15
5 2018/01/13 13:03:42 robert
Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.15
6 2018/01/30 08:17:31 jsg
Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@
-297,6
+297,12
@@
int drm_noop(struct drm_device *dev, void *data,
return 0;
}
+int drm_invalid_op(struct drm_device *dev, void *data,
+ struct drm_file *file_priv)
+{
+ return -EINVAL;
+}
+
/*
* attach drm to a pci-based driver.
*