--- a/fitblk.c +++ b/fitblk.c @@ -5,7 +5,7 @@ #include #include #include -#include +#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 */