aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'nouveau')
-rw-r--r--nouveau/nouveau_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nouveau/nouveau_device.c b/nouveau/nouveau_device.c
index f450e303..91f9a27e 100644
--- a/nouveau/nouveau_device.c
+++ b/nouveau/nouveau_device.c
@@ -50,7 +50,7 @@ nouveau_device_open_existing(struct nouveau_device **dev, int close,
50 return -EINVAL; 50 return -EINVAL;
51 51
52 if ((ver->version_major == 0 && ver->version_patchlevel != 16) && 52 if ((ver->version_major == 0 && ver->version_patchlevel != 16) &&
53 ver->version_major != 1) { 53 ver->version_major > 1) {
54 nouveau_device_close((void *)&nvdev); 54 nouveau_device_close((void *)&nvdev);
55 return -EINVAL; 55 return -EINVAL;
56 } 56 }