Skip to content

Commit 905be2b

Browse files
committed
fixup! rust: of: Add OF node abstraction
1 parent 9f940b9 commit 905be2b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/of.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl Node {
9595
}
9696

9797
/// Returns a reference to the underlying C `device_node` structure.
98-
pub fn node(&self) -> &bindings::device_node {
98+
pub(crate) fn node(&self) -> &bindings::device_node {
9999
// SAFETY: `raw_node` is valid per the type invariant.
100100
unsafe { &*self.raw_node }
101101
}

0 commit comments

Comments
 (0)