xref: /linux/rust/helpers/fwctl.c (revision e052daab94ee8c4081c91de3549772bd1c235729)
1 // SPDX-License-Identifier: GPL-2.0
2 
3 #include <linux/fwctl.h>
4 
5 #if IS_ENABLED(CONFIG_RUST_FWCTL_ABSTRACTIONS)
6 
7 __rust_helper struct fwctl_device *rust_helper_fwctl_get(struct fwctl_device *fwctl)
8 {
9 	return fwctl_get(fwctl);
10 }
11 
12 __rust_helper void rust_helper_fwctl_put(struct fwctl_device *fwctl)
13 {
14 	fwctl_put(fwctl);
15 }
16 
17 #endif
18