Skip to content
Snippets Groups Projects
Commit 224064fa authored by Lyude Paul's avatar Lyude Paul
Browse files

fixup! WIP: drm: Introduce RVKMS!

parent 1bef7abb
No related branches found
No related tags found
No related merge requests found
......@@ -130,13 +130,6 @@ impl platform::Driver for RvkmsDriver {
dev_dbg!(dev, "Probing RVKMS...\n");
//if let (Some(_), Some(info)) = Self::of_match_device(pdev) {
//dev_info!(dev, "Found rvkms using OF compatible match: '{}'\n", info.0);
//}
// XXX: do not fret, the mutable reference here is temporary (poke dakr if it isn't)
//let drm_reg = drv::Registration::<RvkmsDriver>::new(dev, (), 0)?;
KBox::new(Self { pdev: pdev.clone() }, GFP_KERNEL)
.map(|d| d.into())
.map_err(|e| e.into())
......@@ -144,7 +137,6 @@ impl platform::Driver for RvkmsDriver {
}
pub(crate) struct RvkmsDriver {
//drm_reg: Pin<Box<drv::Registration<Self>>>,
pdev: platform::Device,
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment