mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
12003375ac
commit
b6043fcab4
|
@ -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,
|
||||
|
|
|
@ -34,8 +34,11 @@
|
|||
#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.
|
||||
|
|
Loading…
Reference in New Issue