From: Ben Skeggs Date: Thu, 20 Aug 2015 04:54:05 +0000 (+1000) Subject: drm/nouveau/lib: various tweaks X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d5dd3f301bbc66c41b219f50fa97a6df1965cfe;p=linux-beck.git drm/nouveau/lib: various tweaks Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c index 63d8e52f4b22..0f6ce3749e14 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/device/base.c @@ -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: