Skip to content

Commit 80c116e

Browse files
WhatAmISupposedToPutHerejannau
authored andcommitted
rust: device: WIP(?): Make as_raw() public for AOP series
Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com> Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 468f278 commit 80c116e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl Device<CoreInternal> {
245245

246246
impl<Ctx: DeviceContext> Device<Ctx> {
247247
/// Obtain the raw `struct device *`.
248-
pub(crate) fn as_raw(&self) -> *mut bindings::device {
248+
pub fn as_raw(&self) -> *mut bindings::device {
249249
self.0.get()
250250
}
251251

0 commit comments

Comments
 (0)