diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/socket.h | 1 | ||||
-rw-r--r-- | include/uapi/linux/nfc.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/socket.h b/include/linux/socket.h index 2b9f74b0ffea..428c37a1f95c 100644 --- a/include/linux/socket.h +++ b/include/linux/socket.h | |||
@@ -298,6 +298,7 @@ struct ucred { | |||
298 | #define SOL_IUCV 277 | 298 | #define SOL_IUCV 277 |
299 | #define SOL_CAIF 278 | 299 | #define SOL_CAIF 278 |
300 | #define SOL_ALG 279 | 300 | #define SOL_ALG 279 |
301 | #define SOL_NFC 280 | ||
301 | 302 | ||
302 | /* IPX options */ | 303 | /* IPX options */ |
303 | #define IPX_TYPE 1 | 304 | #define IPX_TYPE 1 |
diff --git a/include/uapi/linux/nfc.h b/include/uapi/linux/nfc.h index 7969f46f1bb3..855630fe731d 100644 --- a/include/uapi/linux/nfc.h +++ b/include/uapi/linux/nfc.h | |||
@@ -220,4 +220,8 @@ struct sockaddr_nfc_llcp { | |||
220 | #define NFC_LLCP_DIRECTION_RX 0x00 | 220 | #define NFC_LLCP_DIRECTION_RX 0x00 |
221 | #define NFC_LLCP_DIRECTION_TX 0x01 | 221 | #define NFC_LLCP_DIRECTION_TX 0x01 |
222 | 222 | ||
223 | /* socket option names */ | ||
224 | #define NFC_LLCP_RW 0 | ||
225 | #define NFC_LLCP_MIUX 1 | ||
226 | |||
223 | #endif /*__LINUX_NFC_H */ | 227 | #endif /*__LINUX_NFC_H */ |