diff options
Diffstat (limited to 'rust/kernel/usb.rs')
-rw-r--r-- | rust/kernel/usb.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/kernel/usb.rs b/rust/kernel/usb.rs index 955fd93b6f52..14ddb711bab3 100644 --- a/rust/kernel/usb.rs +++ b/rust/kernel/usb.rs @@ -386,7 +386,7 @@ unsafe impl Sync for Interface {} /// /// [`struct usb_device`]: https://www.kernel.org/doc/html/latest/driver-api/usb/usb.html#c.usb_device #[repr(transparent)] -pub struct Device<Ctx: device::DeviceContext = device::Normal>( +struct Device<Ctx: device::DeviceContext = device::Normal>( Opaque<bindings::usb_device>, PhantomData<Ctx>, ); |