move away from syscall counts towards operation counts
[trinity.git] / ioctls / rfkill.c
blob8247db46e314c66b043e2109b5f0baf01fd1afff
1 #include <linux/ioctl.h>
2 #include <linux/rfkill.h>
4 #include "ioctls.h"
5 #include "utils.h"
7 static const struct ioctl rfkill_ioctls[] = {
8 IOCTL(RFKILL_IOCTL_NOINPUT),
9 };
11 static const char *const rfkill_devs[] = {
12 "rfkill",
15 static const struct ioctl_group rfkill_grp = {
16 .devtype = DEV_MISC,
17 .devs = rfkill_devs,
18 .devs_cnt = ARRAY_SIZE(rfkill_devs),
19 .sanitise = pick_random_ioctl,
20 .ioctls = rfkill_ioctls,
21 .ioctls_cnt = ARRAY_SIZE(rfkill_ioctls),
24 REG_IOCTL_GROUP(rfkill_grp)