]> git.karo-electronics.de Git - linux-beck.git/commitdiff
drm/nouveau/lib: various tweaks
authorBen Skeggs <bskeggs@redhat.com>
Thu, 20 Aug 2015 04:54:05 +0000 (14:54 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 28 Aug 2015 02:40:05 +0000 (12:40 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nvkm/engine/device/base.c

index 63d8e52f4b226e10f913f7d694b7ff75dfc315a5..0f6ce3749e14de69a3aa584ffae2f06a30a78a09 100644 (file)
@@ -727,7 +727,7 @@ nvkm_device_create_(void *dev, enum nv_bus_type type, u64 name,
 
        nv_subdev(device)->debug = nvkm_dbgopt(device->dbgopt, "DEVICE");
        nv_engine(device)->sclass = nvkm_device_sclass;
-       list_add(&device->head, &nv_devices);
+       list_add_tail(&device->head, &nv_devices);
 
        ret = nvkm_event_init(&nvkm_device_event_func, 1, 1, &device->event);
 done: