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