projects
/
profile
/
ivi
/
libdrm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ec9a1e
)
nouveau: fix thinko in drm version check
author
Ben Skeggs
<bskeggs@redhat.com>
Sun, 19 Sep 2010 22:07:28 +0000
(08:07 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Sun, 19 Sep 2010 22:07:28 +0000
(08:07 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
nouveau/nouveau_device.c
patch
|
blob
|
history
diff --git
a/nouveau/nouveau_device.c
b/nouveau/nouveau_device.c
index
f450e30
..
91f9a27
100644
(file)
--- a/
nouveau/nouveau_device.c
+++ b/
nouveau/nouveau_device.c
@@
-50,7
+50,7
@@
nouveau_device_open_existing(struct nouveau_device **dev, int close,
return -EINVAL;
if ((ver->version_major == 0 && ver->version_patchlevel != 16) &&
- ver->version_major
!=
1) {
+ ver->version_major
>
1) {
nouveau_device_close((void *)&nvdev);
return -EINVAL;
}