aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/w1/w1_netlink.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/drivers/w1/w1_netlink.h b/drivers/w1/w1_netlink.h
index 99dd21ba14c6..01d86a71cf32 100644
--- a/drivers/w1/w1_netlink.h
+++ b/drivers/w1/w1_netlink.h
@@ -52,11 +52,14 @@ struct w1_netlink_msg
52 __u8 data[0]; 52 __u8 data[0];
53}; 53};
54 54
55#define W1_CMD_READ 0x0 55enum w1_commands {
56#define W1_CMD_WRITE 0x1 56 W1_CMD_READ = 0,
57#define W1_CMD_SEARCH 0x2 57 W1_CMD_WRITE,
58#define W1_CMD_ALARM_SEARCH 0x3 58 W1_CMD_SEARCH,
59#define W1_CMD_TOUCH 0x4 59 W1_CMD_ALARM_SEARCH,
60 W1_CMD_TOUCH,
61 W1_CMD_MAX,
62};
60 63
61struct w1_netlink_cmd 64struct w1_netlink_cmd
62{ 65{