Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] w1: Move w1-connector definitions into linux/include/connector.h

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

Evgeniy Polyakov and committed by
Greg Kroah-Hartman
b6043fca 12003375

+4 -4
-3
drivers/w1/w1_netlink.h
··· 27 27 28 28 #include "w1.h" 29 29 30 - #define CN_W1_IDX 3 31 - #define CN_W1_VAL 1 32 - 33 30 enum w1_netlink_message_types { 34 31 W1_SLAVE_ADD = 0, 35 32 W1_SLAVE_REMOVE,
+4 -1
include/linux/connector.h
··· 34 34 #define CN_VAL_PROC 0x1 35 35 #define CN_IDX_CIFS 0x2 36 36 #define CN_VAL_CIFS 0x1 37 + #define CN_W1_IDX 0x3 /* w1 communication */ 38 + #define CN_W1_VAL 0x1 37 39 38 - #define CN_NETLINK_USERS 1 40 + 41 + #define CN_NETLINK_USERS 4 39 42 40 43 /* 41 44 * Maximum connector's message size.