mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-28 17:12:22 +00:00
25 lines
506 B
Diff
25 lines
506 B
Diff
--- a/fitblk.c
|
|
+++ b/fitblk.c
|
|
@@ -5,7 +5,7 @@
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <sys/ioctl.h>
|
|
-#include <linux/fitblk.h>
|
|
+#include "fitblk.h"
|
|
|
|
static int fitblk_release(char *device)
|
|
{
|
|
--- /dev/null
|
|
+++ b/fitblk.h
|
|
@@ -0,0 +1,10 @@
|
|
+/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
|
|
+#ifndef _LINUX_FITBLK_H
|
|
+#define _LINUX_FITBLK_H
|
|
+
|
|
+/*
|
|
+ * IOCTL commands --- we will commandeer 0x46 ('F')
|
|
+ */
|
|
+#define FITBLK_RELEASE 0x4600
|
|
+
|
|
+#endif /* _LINUX_FITBLK_H */
|