We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 698f04d + 14d8646 commit f7c1078Copy full SHA for f7c1078
rust/kernel/of.rs
@@ -33,7 +33,7 @@ pub struct OfMatchTable(InnerTable);
33
impl OfMatchTable {
34
/// Creates a [`OfMatchTable`] from a single `compatible` string.
35
pub fn new(compatible: &CStr<'static>) -> Result<Self> {
36
- let tbl: InnerTable = Box::try_new([
+ let tbl = Box::try_new([
37
Self::new_of_device_id(compatible)?,
38
bindings::of_device_id::default(),
39
])?;
0 commit comments