[PATCH] w1: Move w1-connector definitions into linux/include/connector.h
authorEvgeniy Polyakov <johnpol@2ka.mipt.ru>
Thu, 23 Mar 2006 16:11:58 +0000 (19:11 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Jun 2006 18:22:50 +0000 (11:22 -0700)
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/w1/w1_netlink.h
include/linux/connector.h

index 5644221..56122b9 100644 (file)
@@ -27,9 +27,6 @@
 
 #include "w1.h"
 
-#define CN_W1_IDX      3
-#define CN_W1_VAL      1
-
 enum w1_netlink_message_types {
        W1_SLAVE_ADD = 0,
        W1_SLAVE_REMOVE,
index ad1a22c..4c02119 100644 (file)
 #define CN_VAL_PROC                    0x1
 #define CN_IDX_CIFS                    0x2
 #define CN_VAL_CIFS                     0x1
+#define CN_W1_IDX                      0x3     /* w1 communication */
+#define CN_W1_VAL                      0x1
 
-#define CN_NETLINK_USERS               1
+
+#define CN_NETLINK_USERS               4
 
 /*
  * Maximum connector's message size.