Commit c2783c7c authored by Miguel Ojeda's avatar Miguel Ojeda
Browse files

rust: drm: fix `srctree/` links



These `srctree/` links pointed inside `linux/`, but they are directly
under `drm/`.

Thus fix them.

This cleans a future warning that will check our `srctree/` links.

Cc: stable@vger.kernel.org
Fixes: a98a73be ("rust: drm: file: Add File abstraction")
Fixes: c284d3e4 ("rust: drm: gem: Add GEM object abstraction")
Fixes: 07c90160 ("rust: drm: add driver abstractions")
Fixes: 1e4b8896 ("rust: drm: add device abstraction")
Fixes: 9a695706 ("rust: drm: ioctl: Add DRM ioctl abstraction")
Acked-by: default avatarDanilo Krummrich <dakr@kernel.org>
Reviewed-by: default avatarDaniel Almeida <daniel.almeida@collabora.com>
Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
parent 208d7f78
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

//! DRM device.
//!
//! C header: [`include/linux/drm/drm_device.h`](srctree/include/linux/drm/drm_device.h)
//! C header: [`include/drm/drm_device.h`](srctree/include/drm/drm_device.h)

use crate::{
    alloc::allocator::Kmalloc,
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

//! DRM driver core.
//!
//! C header: [`include/linux/drm/drm_drv.h`](srctree/include/linux/drm/drm_drv.h)
//! C header: [`include/drm/drm_drv.h`](srctree/include/drm/drm_drv.h)

use crate::{
    bindings, device, devres, drm,
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

//! DRM File objects.
//!
//! C header: [`include/linux/drm/drm_file.h`](srctree/include/linux/drm/drm_file.h)
//! C header: [`include/drm/drm_file.h`](srctree/include/drm/drm_file.h)

use crate::{bindings, drm, error::Result, prelude::*, types::Opaque};
use core::marker::PhantomData;
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

//! DRM GEM API
//!
//! C header: [`include/linux/drm/drm_gem.h`](srctree/include/linux/drm/drm_gem.h)
//! C header: [`include/drm/drm_gem.h`](srctree/include/drm/drm_gem.h)

use crate::{
    alloc::flags::*,
+1 −1
Original line number Diff line number Diff line
@@ -2,7 +2,7 @@

//! DRM IOCTL definitions.
//!
//! C header: [`include/linux/drm/drm_ioctl.h`](srctree/include/linux/drm/drm_ioctl.h)
//! C header: [`include/drm/drm_ioctl.h`](srctree/include/drm/drm_ioctl.h)

use crate::ioctl;