summaryrefslogtreecommitdiff
path: root/rust/helpers/fwctl.c
blob: c7eecd4336a78b87934033858d857a69ebb4b5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// SPDX-License-Identifier: GPL-2.0

#include <linux/fwctl.h>

#if IS_ENABLED(CONFIG_RUST_FWCTL_ABSTRACTIONS)

__rust_helper struct fwctl_device *rust_helper_fwctl_get(struct fwctl_device *fwctl)
{
	return fwctl_get(fwctl);
}

__rust_helper void rust_helper_fwctl_put(struct fwctl_device *fwctl)
{
	fwctl_put(fwctl);
}

#endif