summaryrefslogtreecommitdiff
path: root/rust/helpers/auxiliary.c
diff options
context:
space:
mode:
Diffstat (limited to 'rust/helpers/auxiliary.c')
-rw-r--r--rust/helpers/auxiliary.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/rust/helpers/auxiliary.c b/rust/helpers/auxiliary.c
new file mode 100644
index 000000000000..8b5e0fea4493
--- /dev/null
+++ b/rust/helpers/auxiliary.c
@@ -0,0 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0
+
+#include <linux/auxiliary_bus.h>
+
+void rust_helper_auxiliary_device_uninit(struct auxiliary_device *adev)
+{
+ return auxiliary_device_uninit(adev);
+}
+
+void rust_helper_auxiliary_device_delete(struct auxiliary_device *adev)
+{
+ return auxiliary_device_delete(adev);
+}